-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
template_cloudinit_config needs two applys to propagate a change #6899
Comments
We too are seeing this behavior as well. We are using a bit different config, but same results. Major differences are gzip/base64 & the lack of merge_type, neither of which should matter.
|
@jen20 I created a quick fix for this one. Would you mind trying to get it shipped with the 0.7 release? |
Fixed with data sources! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
0.6.16
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
The second
terraform apply
should change all three resources.Actual Behavior
Running
terraform apply
the first time does the right thing. Then change the value of bar variable in template file. When doing the secondterraform apply
, only changes template_file and template_cloudinit_config, but change doesn't propagate to the aws_instance that is using the template_cloudinit_config. A thirdterraform apply
picks up that change.Steps to Reproduce
terraform apply
All three resources get createdterraform apply
only changes template_file and template_cloudinit_config, but change doesn't propagate to the aws_instance that is using the template_cloudinit_configterraform apply
The aws_instance finally gets modifiedImportant Factoids
References
The text was updated successfully, but these errors were encountered: