Skip to content

Commit 833b297

Browse files
egarbibrandonjbjelland
authored andcommitted
create_before_destroy target groups to allow in flight changes (#58)
1 parent af83c3a commit 833b297

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ resource "aws_lb_target_group" "main" {
5252
count = "${var.target_groups_count}"
5353

5454
depends_on = ["aws_lb.application"]
55+
56+
lifecycle {
57+
create_before_destroy = true
58+
}
5559
}
5660

5761
resource "aws_lb_listener" "frontend_http_tcp" {

0 commit comments

Comments
 (0)