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
Support terraform console with -backend=false #24094
Comments
Hi @mbrancato! Thanks for sharing this use-case. Running I personally tend to run Does that seem like it would be sufficient for the uses you have in mind? |
I usually use an empty folder as well, I'm mostly trying to test out functions or expressions as well. Of course, anything more in depth I just create a I don't feel like Terraform console is an in-depth debugging tool, just quick testing, etc. The issue I had here was I was debugging some calculated locals that were used and was hard to duplicate. I ended up copying to a new folder and making |
This is a workaround but this shouldn't be the way to go. |
Current Terraform Version
Use-cases
There are times when code has a backend config, and the user wants to test this without modification. With
terraform validate
this can be done withterraform init -backend=false
. Even pulling remote module sources work using this method. However,terraform console
does not support this, meaning the code must be edited and the backend config removed.Attempted Solutions
Proposal
References
The text was updated successfully, but these errors were encountered: