mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
migrate docs to mdx
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
---
|
||||
layout: "docs"
|
||||
page_title: "Command: workspace delete"
|
||||
sidebar_current: "docs-commands-workspace-sub-delete"
|
||||
description: |-
|
||||
The terraform workspace delete command is used to delete a workspace.
|
||||
page_title: 'Command: workspace delete'
|
||||
description: The terraform workspace delete command is used to delete a workspace.
|
||||
---
|
||||
|
||||
# Command: workspace delete
|
||||
@@ -31,8 +28,8 @@ 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=false` - Don't hold a state lock during the operation. This is
|
||||
dangerous if others might concurrently run commands against the same
|
||||
workspace.
|
||||
dangerous if others might concurrently run commands against the same
|
||||
workspace.
|
||||
* `-lock-timeout=DURATION` - Duration to retry a state lock. Default 0s.
|
||||
|
||||
## Example
|
||||
@@ -1,15 +1,12 @@
|
||||
---
|
||||
layout: "docs"
|
||||
page_title: "Command: workspace"
|
||||
sidebar_current: "docs-commands-workspace-index"
|
||||
description: "The workspace command helps you manage workspaces."
|
||||
|
||||
page_title: 'Command: workspace'
|
||||
description: The workspace command helps you manage workspaces.
|
||||
---
|
||||
|
||||
# Command: workspace
|
||||
|
||||
The `terraform workspace` command is used to manage
|
||||
[workspaces](/docs/language/state/workspaces.html).
|
||||
[workspaces](/language/state/workspaces).
|
||||
|
||||
This command is a container for further subcommands. These subcommands are
|
||||
listed in the navigation bar.
|
||||
@@ -1,9 +1,6 @@
|
||||
---
|
||||
layout: "docs"
|
||||
page_title: "Command: workspace list"
|
||||
sidebar_current: "docs-commands-workspace-sub-list"
|
||||
description: |-
|
||||
The terraform workspace list command is used to list all existing workspaces.
|
||||
page_title: 'Command: workspace list'
|
||||
description: The terraform workspace list command is used to list all existing workspaces.
|
||||
---
|
||||
|
||||
# Command: workspace list
|
||||
@@ -1,9 +1,6 @@
|
||||
---
|
||||
layout: "docs"
|
||||
page_title: "Command: workspace new"
|
||||
sidebar_current: "docs-commands-workspace-sub-new"
|
||||
description: |-
|
||||
The terraform workspace new command is used to create a new workspace.
|
||||
page_title: 'Command: workspace new'
|
||||
description: The terraform workspace new command is used to create a new workspace.
|
||||
---
|
||||
|
||||
# Command: workspace new
|
||||
@@ -23,8 +20,8 @@ will be copied to initialize the state for this new workspace.
|
||||
The command-line flags are all optional. The supported flags are:
|
||||
|
||||
* `-lock=false` - Don't hold a state lock during the operation. This is
|
||||
dangerous if others might concurrently run commands against the same
|
||||
workspace.
|
||||
dangerous if others might concurrently run commands against the same
|
||||
workspace.
|
||||
* `-lock-timeout=DURATION` - Duration to retry a state lock. Default 0s.
|
||||
* `-state=path` - Path to an existing state file to initialize the state of this environment.
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
---
|
||||
layout: "docs"
|
||||
page_title: "Command: workspace select"
|
||||
sidebar_current: "docs-commands-workspace-sub-select"
|
||||
description: |-
|
||||
The terraform workspace select command is used to choose a workspace.
|
||||
page_title: 'Command: workspace select'
|
||||
description: The terraform workspace select command is used to choose a workspace.
|
||||
---
|
||||
|
||||
# Command: workspace select
|
||||
@@ -1,9 +1,6 @@
|
||||
---
|
||||
layout: "docs"
|
||||
page_title: "Command: workspace show"
|
||||
sidebar_current: "docs-commands-workspace-sub-show"
|
||||
description: |-
|
||||
The terraform workspace show command is used to output the current workspace.
|
||||
page_title: 'Command: workspace show'
|
||||
description: The terraform workspace show command is used to output the current workspace.
|
||||
---
|
||||
|
||||
# Command: workspace show
|
||||
Reference in New Issue
Block a user