Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Workaround for cycle dependencies in Terraform
Browse files Browse the repository at this point in the history
We were getting some cycle dependencies error when applying the config without existing .tfstate.
We double checked and we have no cycles at all.
For reference, see:
  * [What is the dependency cycle in this? #1475](hashicorp/terraform#1475)
  * [Dependency cycle errors with modules #1637](hashicorp/terraform#1637)
  • Loading branch information
Mikko Caldara committed May 1, 2015
1 parent 3491ece commit 8cf482b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions aws/api-servers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ resource "aws_launch_configuration" "api" {
instance_type = "t2.medium"
security_groups = ["${aws_security_group.default.id}"]
key_name = "${var.key_pair_name}"
lifecycle {
create_before_destroy = true
}
}

/* API servers Autoscaling Group */
Expand Down
3 changes: 0 additions & 3 deletions aws/routers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ resource "aws_launch_configuration" "router" {
instance_type = "t2.medium"
security_groups = ["${aws_security_group.default.id}"]
key_name = "${var.key_pair_name}"
lifecycle {
create_before_destroy = true
}
}

/* Router Autoscaling Group */
Expand Down
3 changes: 0 additions & 3 deletions aws/ssl-proxies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ resource "aws_launch_configuration" "tsuru-sslproxy" {
instance_type = "t2.medium"
security_groups = ["${aws_security_group.default.id}","${aws_security_group.sslproxy.id}"]
key_name = "${var.key_pair_name}"
lifecycle {
create_before_destroy = true
}
}

/* SSL proxy Autoscaling Group */
Expand Down

0 comments on commit 8cf482b

Please sign in to comment.