Skip to content

Commit

Permalink
Add lifecycle for target group
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Nemetz committed Jan 4, 2018
1 parent 731a9b1 commit 9916cde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ resource "aws_lb_target_group" "application-https" {
enabled = "${var.cookie_duration > 0 ? true : false}"
}
tags = "${module.label.tags}"
lifecycle {
create_before_destroy = true
}
}

resource "aws_lb_target_group" "network" {
Expand Down

0 comments on commit 9916cde

Please sign in to comment.