Update delete.html.md (#26874)
This commit is contained in:
parent
7c98be92c2
commit
9d3143381b
|
@ -12,7 +12,7 @@ The `terraform workspace delete` command is used to delete an existing workspace
|
|||
|
||||
## Usage
|
||||
|
||||
Usage: `terraform workspace delete [NAME]`
|
||||
Usage: `terraform workspace delete [OPTIONS] NAME [DIR]`
|
||||
|
||||
This command will delete the specified workspace.
|
||||
|
||||
|
@ -30,6 +30,8 @@ from getting into this situation.
|
|||
The command-line flags are all optional. The only supported flag is:
|
||||
|
||||
* `-force` - Delete the workspace even if its state is not empty. Defaults to false.
|
||||
* `-lock` - Lock the state file when locking is supported. Defaults to true.
|
||||
* `-lock-timeout` - Duration to retry a state lock. Default 0s.
|
||||
|
||||
## Example
|
||||
|
||||
|
|
Loading…
Reference in New Issue