CmdID

CmdID / Commands

terraform-workspace

Manage Terraform workspaces for multiple environments. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List all workspaces

terraform workspace listIdentify

Show the name of the current workspace

terraform workspace showIdentify

Create a new workspace

terraform workspace new workspace_nameIdentify

Select an existing workspace

terraform workspace select workspace_nameIdentify

Select a workspace, creating it if it doesn't exist

terraform workspace select -or-create workspace_nameIdentify

Delete a workspace

terraform workspace delete workspace_nameIdentify

Delete a workspace, even if it is tracking resources

terraform workspace delete -force workspace_nameIdentify