terraform workspace delete <workspace name>

Delete the specified workspace

Arguments

NameDescription
workspace name

Options

NameDescription
-lock <true or false>Lock the state file when locking is supported. Defaults to true
-force <true or false>Delete the workspace even if its state is not empty. Defaults to false
-lock-timeout <seconds>Duration to retry a state lock. Default 0s
-input <true or false>Ask for input for variables if not directly set
-no-colorDisables output with coloring