github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/commands/env/select.html.md (about) 1 --- 2 layout: "commands-env" 3 page_title: "Command: env select" 4 sidebar_current: "docs-env-sub-select" 5 description: |- 6 The terraform env select command is used to select state environments. 7 --- 8 9 # Command: env select 10 11 The `terraform env select` command is used to select to a different 12 environment that is already created. 13 14 ## Usage 15 16 Usage: `terraform env select [NAME]` 17 18 This command will select to another environment. The environment must 19 already be created. 20 21 ## Example 22 23 ``` 24 $ terraform env list 25 default 26 * development 27 mitchellh-test 28 29 $ terraform env select default 30 Switched to environment "default"! 31 ```