provider/aws: Fixing launch config depdency

This commit is contained in:
Armon Dadgar 2014-07-28 11:27:44 -04:00
parent 98765f0de7
commit e596feb42b
1 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,9 @@ func resource_aws_autoscaling_group_create(
}
rs.ID = rs.Attributes["name"]
rs.Dependencies = []terraform.ResourceDependency{
terraform.ResourceDependency{ID: rs.Attributes["launch_configuration"]},
}
log.Printf("[INFO] AutoScaling Group ID: %s", rs.ID)