select
Selects or creates a Terraform workspace before planning/applying.
@terraform select {
workspace = "dev"
create = true
args = "-no-color"
}
Caching and batching
| Setting | Value |
|---|---|
| Cache mode | never |
| Batchable | no |
| Platform sensitivity | Unknown |
Argument Reference
The following arguments are supported:
workspace- (Optional) Workspace name (defaultwhen omitted).create- (Optional) Adds-or-create. Default value istrue.args- (Optional) Extraterraform workspace selectarguments.