terraform-workspace
Manage Terraform workspaces for multiple environments. tldr-pages
On several platforms
Several platforms
List all workspaces
terraform workspace listIdentifyShow the name of the current workspace
terraform workspace showIdentifyCreate a new workspace
terraform workspace new workspace_nameIdentifySelect an existing workspace
terraform workspace select workspace_nameIdentifySelect a workspace, creating it if it doesn't exist
terraform workspace select -or-create workspace_nameIdentifyDelete a workspace
terraform workspace delete workspace_nameIdentifyDelete a workspace, even if it is tracking resources
terraform workspace delete -force workspace_nameIdentify