-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Terraform errantly reports need to update. State file out of sync with deployed resources when no modifications have been made. #44
Comments
@tombuildsstuff could this be related to #148? If so, could you please close this one after linking it to that issue. |
Confirmed this is still a bug, thought this was to do with the
|
Custom data can now be updated, however API always returns nothing so the value needs to be passed along or |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
This issue was originally opened by @jzampieron as hashicorp/terraform#12552. It was migrated here as part of the provider split. The original body of the issue is below.
Terraform Version
Terraform v0.8.8
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Expected Behavior
Terraform should report that the state file is in sync with the
tf
files.Actual Behavior
terraform plan
reports the need to update the resources.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform plan
-> Note that terraform still tries to report modifications.Important Factoids
I believe this is related to the base64encode() function not storing the proper value in the state file for the
custom_data
element.The state file shows the raw JSON content instead of the base64encoded string shown in the plan output.
It's uncertain what's actually running on the cluster, although I believe it's correct b/c the API call works and the CoreOS configuration is updated.
The text was updated successfully, but these errors were encountered: