Skip to content

Commit

Permalink
Putting the create_before_destroy lines back in, as they were ineffec…
Browse files Browse the repository at this point in the history
…tive for making the ELB load the instances. There is already an issue open regarding this problem (hashicorp/terraform#477)
  • Loading branch information
joescii committed Jan 3, 2015
1 parent 029d3df commit 767d504
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 767d504

Please sign in to comment.