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
v1.8 says Backend configuration block has changed when it hasn't #34974
Comments
Hi @jorhett! Sorry for this misbehavior, and thanks for reporting it. From your reproduction steps, it sounds like you ran If so, it would probably help to run Alternatively, you could start with a fresh working directory (without any existing If that does fix it for you, then we can change the upgrade guide to mention this additional hazard when reusing a pre-existing working directory. Otherwise, I'll leave this to the S3 provider team (who maintains this backend) for further investigation. Thanks! |
Hi @apparentlymart , When keeping the After deleting the |
@apparentlymart No in this case ran init/plan/apply with v7 and then came back and tried to make a plan with v1.8 and was forced to go This is breaking the automation toolset for EVERY component in our organization, requiring manual intervention for each and every one... when there was zero change to the code. Why can't the legacy workflow be removed without forcing every single person to hop out of the car, pop the hood, and apply a change that they didn't make? At the very least, this should be mentioned in the changelog and upgrade notes. It isn't mentioned in either. But better yet, let's not tell people they changed something which they did not change? At the very least, can you own up to the problem?
|
To be on point here, we cannot just change a release process to automatically run So if you really are saying that we have to re-init every root module any time a new Terraform version ships, then please give us some command by which we can confirm the backend DID NOT CHANGE and that a blind |
Also, the page you linked to spoke vaguely about the idea with zero mention of impact
We have never in the history of our repo (10+ years of Terraform!) used this argument. Therefore it's hard to understand how I'm supposed to know that this sentence means I must manually reinitialize every module before I can plan again. $ grep -h use_legacy_workflow */.terraform/* 2> /dev/null |sort | uniq
"use_legacy_workflow": null, |
I'm running into the very same issue as @jorhett described in his previous comments, but wanted to echo all of his concerns and surprise that this wasn't mention clearly in the release notes for Terraform 1.8:
This currently breaks all automations we have in place and requires a manual intervention for all Terraform configs. |
I'm seeing the same problem and I've also never used Should we expect to see a patch that will allow us to avoid having to reinitialise state? |
Terraform Version
Terraform Configuration Files
Debug Output
N/A
Expected Behavior
$ terraform plan test Acquiring state lock. This may take a few moments...
Actual Behavior
Steps to Reproduce
Additional Context
No mention of this change is had in the upgrade guide or the changelog.
References
No response
The text was updated successfully, but these errors were encountered: