mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user