terraform workspace select prod

Category: IaC & Automation

terraform workspace select prod

Switch the active workspace

Makes prod the current workspace so subsequent commands read and write its state. Output from plan and apply shows the active workspace, an important sanity check before destroying anything. Related: terraform workspace show.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.