Skip to content

Commit 9916cde

Browse files
author
Steven Nemetz
committed
Add lifecycle for target group
1 parent 731a9b1 commit 9916cde

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ resource "aws_lb_target_group" "application-https" {
271271
enabled = "${var.cookie_duration > 0 ? true : false}"
272272
}
273273
tags = "${module.label.tags}"
274+
lifecycle {
275+
create_before_destroy = true
276+
}
274277
}
275278

276279
resource "aws_lb_target_group" "network" {

0 commit comments

Comments
 (0)