-
Notifications
You must be signed in to change notification settings - Fork 26
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
s3 backend causes issue with terraform always thinking backend configuration has changed #51
Comments
Hi @paulrobello, Let us know if this has helped to resolve your issue. |
My backend is setup exactly as I pasted above, no endpoints. tflocal init -upgrade -reconfigure |
@paulrobello Can you please provide some information on your environment, as I'm unable to reproduce it? |
reproducer repo created https://github.com/paulrobello/tflocal_s3_backend_bug |
Reproducer failed for me. Digging into it. |
I see the apply worked. It's the call to |
Ok. I see there's a dependency problem. |
This sample was useful @cabeaulac. Found the source of the error. I turned around the logic and I added an env variable to exclude a subcommand from proxying. |
When using tflocal version 1.18.0 with a s3 backend every time i run a terraform command i get
Error: Backend initialization required: please run "terraform init"
Reason: Backend configuration block has changed
running init completes without error but then the very next command has same error.
This issues does not happen with version 0.17.1
The text was updated successfully, but these errors were encountered: