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
$ terraform version
Terraform v1.5.7
on windows_amd64
Use Cases
I have an application that uses workspaces to deploy different environments. I want to have workspace-specific variable values to be used to differentiate each environment (e.g. auto scaling limit, instance type and so on).
Attempted Solutions
Right now we can either import a file passing its path as a argument of the CLI or create a map for each setting that has the workspace name as key.
Proposal
Ideally it would be files named like terraform.dev.tfvars and terraform.stage.tfvars.
To simplify filtering, a new extension could be introduced, like wstfvars so that's easier to select all those files who end with that extension and include the name of the current workspace.
References
No response
The text was updated successfully, but these errors were encountered:
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.
Terraform Version
Use Cases
I have an application that uses workspaces to deploy different environments. I want to have workspace-specific variable values to be used to differentiate each environment (e.g. auto scaling limit, instance type and so on).
Attempted Solutions
Right now we can either import a file passing its path as a argument of the CLI or create a map for each setting that has the workspace name as key.
Proposal
Ideally it would be files named like
terraform.dev.tfvars
andterraform.stage.tfvars
.To simplify filtering, a new extension could be introduced, like
wstfvars
so that's easier to select all those files who end with that extension and include the name of the current workspace.References
No response
The text was updated successfully, but these errors were encountered: