Updating terraform workspace website list.html.md new.html.md select.html.md files thus it reflect the current version of Terraform CLI

This commit is contained in:
Andor Markus
2020-11-11 23:21:21 +01:00
committed by Pam Selle
parent c066127497
commit f658531883
3 changed files with 6 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ The `terraform workspace list` command is used to list all existing workspaces.
## Usage
Usage: `terraform workspace list`
Usage: `terraform workspace list [DIR]`
The command will list all existing workspaces. The current workspace is
indicated using an asterisk (`*`) marker.

View File

@@ -12,7 +12,7 @@ The `terraform workspace new` command is used to create a new workspace.
## Usage
Usage: `terraform workspace new [NAME]`
Usage: `terraform workspace new [OPTIONS] NAME [DIR]`
This command will create a new workspace with the given name. A workspace with
this name must not already exist.
@@ -22,7 +22,9 @@ will be copied to initialize the state for this new workspace.
The command-line flags are all optional. The only supported flag is:
* `-state=path` - Path to a state file to initialize the state of this environment.
* `-lock` - Lock the state file when locking is supported. Defaults to true.
* `-lock-timeout` - Duration to retry a state lock. Default 0s.
* `-state=path` - Path to an existing state file to initialize the state of this environment.
## Example: Create

View File

@@ -13,7 +13,7 @@ workspace to use for further operations.
## Usage
Usage: `terraform workspace select [NAME]`
Usage: `terraform workspace select NAME [DIR]`
This command will select another workspace. The named workspace must already
exist.