Update delete.html.md (#26874)

This commit is contained in:
Andor Markus 2020-11-11 15:14:54 +01:00 committed by GitHub
parent 7c98be92c2
commit 9d3143381b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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