website: env switch => select

This commit is contained in:
Mitchell Hashimoto 2017-03-01 21:51:40 -08:00
parent d892b436f5
commit 4b1dc53cc1
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
4 changed files with 34 additions and 34 deletions

View File

@ -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"!
```

View File

@ -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"!
```

View File

@ -29,7 +29,7 @@ you've only ever worked on the "default" environment.
Environments are managed with the `terraform env` set of commands. To
create a new environment and switch to it, you can use `terraform env new`,
to switch environments you can use `terraform env switch`, etc.
to switch environments you can use `terraform env select`, etc.
For example, creating an environment:

View File

@ -17,8 +17,8 @@
<a href="/docs/commands/env/list.html">list</a>
</li>
<li<%= sidebar_current("docs-env-sub-switch") %>>
<a href="/docs/commands/env/switch.html">switch</a>
<li<%= sidebar_current("docs-env-sub-select") %>>
<a href="/docs/commands/env/select.html">select</a>
</li>
<li<%= sidebar_current("docs-env-sub-new") %>>