You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be the same as #15742. Indeed this isn't supposed to crash, but it also isn't intended to work either, because the provider dependency is a property of the configuration itself dealt with during terraform init, rather than something that can dynamically change per-run. (Variables are a per-run thing, so they are not usable in terraform init.)
As noted in #15742, we'll fix this by making it generate a proper error message rather than a crash, but making version constraints settable by variables is not possible.
I'm going to close this just to consolidate the discussion in #15742. Thanks for reporting this!
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 6, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Maybe it’s not supported, but it’s the wrong behavior nonetheless.
Terraform Version
Terraform v0.10.8
Terraform Configuration Files
Debug Output
https://gist.github.com/giorgio-v/a22c54fca50f970fc95e238ce37d4def
Crash Output
https://gist.github.com/giorgio-v/a22c54fca50f970fc95e238ce37d4def
Expected Behavior
https://gist.github.com/giorgio-v/a22c54fca50f970fc95e238ce37d4def
Actual Behavior
https://gist.github.com/giorgio-v/a22c54fca50f970fc95e238ce37d4def
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform plan
Important Factoids
NA
References
NA
The text was updated successfully, but these errors were encountered: