Replacing target group with proper shockrah.xyz group
This commit is contained in:
parent
01e6d7f990
commit
57965a2a5a
@ -20,8 +20,8 @@ resource "aws_lb" "alpha" {
|
|||||||
## ECS services manage themselves when it comes to registering to the
|
## ECS services manage themselves when it comes to registering to the
|
||||||
## target group so we only need to provide the pool
|
## target group so we only need to provide the pool
|
||||||
#####################################################################
|
#####################################################################
|
||||||
resource "aws_lb_target_group" "alpha_cluster" {
|
resource "aws_lb_target_group" "shockrah_xyz" {
|
||||||
name = "${var.athens_prefix}-alpha-cluster"
|
name = "${var.athens_prefix}-shockrah-xyz"
|
||||||
port = 80
|
port = 80
|
||||||
protocol = "HTTP"
|
protocol = "HTTP"
|
||||||
target_type = "ip"
|
target_type = "ip"
|
||||||
@ -37,7 +37,7 @@ resource "aws_lb_listener" "https" {
|
|||||||
certificate_arn = aws_acm_certificate_validation.shockrah_xyz.certificate_arn
|
certificate_arn = aws_acm_certificate_validation.shockrah_xyz.certificate_arn
|
||||||
default_action {
|
default_action {
|
||||||
type = "forward"
|
type = "forward"
|
||||||
target_group_arn = aws_lb_target_group.alpha_cluster.arn
|
target_group_arn = aws_lb_target_group.shockrah_xyz.arn
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user