Skip to content

Commit

Permalink
allow create_before_destroy for listener rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Van Dyke committed Oct 9, 2023
1 parent 0ec763c commit e535600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/cloudfoundry/broker_alb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ resource "aws_lb_listener_rule" "cf_s3_broker" {
}

resource "aws_lb_target_group" "cf_s3_broker" {
name_prefix = "${var.env}-cf-s3-broker"
name = "${substr(format("%s-%s", "${var.env}-cf-s3-broker", replace(uuid(), "-", "")), 0, 32)}"
port = 443
protocol = "HTTPS"
vpc_id = var.vpc_id
Expand Down Expand Up @@ -136,7 +136,7 @@ resource "aws_lb_listener_rule" "cf_sqs_broker" {
}

resource "aws_lb_target_group" "cf_sqs_broker" {
name_prefix = "${var.env}-cf-sqs-broker"
name = "${substr(format("%s-%s", "${var.env}-cf-sqs-broker", replace(uuid(), "-", "")), 0, 32)}"
port = 443
protocol = "HTTPS"
vpc_id = var.vpc_id
Expand Down

0 comments on commit e535600

Please sign in to comment.