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
I'd like to set module.source value according to the backend configured. E.g. when using remote backend, I want it to use source in github.com, otherwise, just use local source.
Attempted Solutions
Try to use a ... ? ... : ... statement, but can not find where to read the backend configuration in the config file.
Proposal
Add backend configuration in the state file.
References
The text was updated successfully, but these errors were encountered:
Current Terraform Version
Use-cases
I'd like to set module.source value according to the backend configured. E.g. when using remote backend, I want it to use source in github.com, otherwise, just use local source.
Attempted Solutions
Try to use a
... ? ... : ...
statement, but can not find where to read the backend configuration in the config file.Proposal
Add backend configuration in the state file.
References
The text was updated successfully, but these errors were encountered: