You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/website/source/docs/commands/env/switch.html.md

609 B

layout page_title sidebar_current description
commands-env Command: env switch docs-env-sub-switch The terraform env switch command is used to switch state environments.

Command: env switch

The terraform env switch command is used to switch to a different environment that is already created.

Usage

Usage: terraform env switch [NAME]

This command will switch to another environment. The environment must already be created.

Example

$ terraform env list
  default
* development
  mitchellh-test

$ terraform env switch default
Switch to environment "default"!