Using Terraform CLI, how do you delete a workspace?

Experience Level: Junior
Tags: Terraform


Run the following command:

terraform workspace delete your-workspace

Before you can delete the workspace, you need to switch to a different workspace.


No Comments Yet.
Be the first to tell us what you think.
Terraform CLI
Terraform CLI

Are you learning Terraform ? Try our test we designed to help you progress faster.

Test yourself