mirror of https://github.com/hashicorp/terraform
parent
d892b436f5
commit
4b1dc53cc1
@ -0,0 +1,31 @@
|
||||
---
|
||||
layout: "commands-env"
|
||||
page_title: "Command: env select"
|
||||
sidebar_current: "docs-env-sub-select"
|
||||
description: |-
|
||||
The terraform env select command is used to select state environments.
|
||||
---
|
||||
|
||||
# Command: env select
|
||||
|
||||
The `terraform env select` command is used to select to a different
|
||||
environment that is already created.
|
||||
|
||||
## Usage
|
||||
|
||||
Usage: `terraform env select [NAME]`
|
||||
|
||||
This command will select to another environment. The environment must
|
||||
already be created.
|
||||
|
||||
## Example
|
||||
|
||||
```
|
||||
$ terraform env list
|
||||
default
|
||||
* development
|
||||
mitchellh-test
|
||||
|
||||
$ terraform env select default
|
||||
Switched to environment "default"!
|
||||
```
|
||||
@ -1,31 +0,0 @@
|
||||
---
|
||||
layout: "commands-env"
|
||||
page_title: "Command: env switch"
|
||||
sidebar_current: "docs-env-sub-switch"
|
||||
description: |-
|
||||
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"!
|
||||
```
|
||||
Loading…
Reference in new issue