-
Notifications
You must be signed in to change notification settings - Fork 61
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
Apply fails silently when applying old version of existing schema #394
Comments
@ondrejbilcik can you please share us some example configs and the expected outcomes? This will help us troubleshoot. CC @channingdong |
Sure. I set up some test configs to illustrate the issue:
As you can see below, the schema is still on version two. I would expect either the schema to revert to the previous version, or for terraform to throw an error stating that the change wasn't successfully applied. Let me know if you need any more data. Cheers, |
Hi,
We're running into an issue when reverting changes to a schema, when
terraform apply
succeeds however the schema does not revert to the previous version in the registry.We can work around this using an arbitrary version attribute, however the
terraform apply
should still throw an error in cases when the attribute isn't changed and thus the change isn't applied to the schema.When TF_LOG=warn is set, the following warning is displayed when applying:
The text was updated successfully, but these errors were encountered: