Skip to content

Commit

Permalink
Removing the EC2's lifecycle.create_before_destory in case that is th…
Browse files Browse the repository at this point in the history
…e reason the ELB is not recognizing it should have two instances
  • Loading branch information
joescii committed Jan 3, 2015
1 parent 1836bf8 commit 029d3df
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy/aws-infra.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ resource "aws_instance" "pac1" {
Name = "pac-srv"
}

lifecycle {
create_before_destroy = true
}
# lifecycle {
# create_before_destroy = true
# }
}

resource "aws_instance" "pac2" {
Expand All @@ -63,9 +63,9 @@ resource "aws_instance" "pac2" {
Name = "pac-srv"
}

lifecycle {
create_before_destroy = true
}
# lifecycle {
# create_before_destroy = true
# }
}

resource "aws_elb" "pac-elb" {
Expand Down

0 comments on commit 029d3df

Please sign in to comment.