terraform workspace new prod

Category: IaC & Automation

terraform workspace new prod

Create a new workspace named prod

Creates the prod workspace and selects it, giving the configuration a fresh, empty state. From then on plan, apply, and destroy act on prod's state until you switch again. Related: terraform workspace list.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.