Skip to main content

Destroy Command

Destroy your current infrastructure and monitor progress inside the Pluralith desktop app.

pluralith destroy [flags]

Available Flags

FlagDescriptionType
--show-costsDetermines whether to run infracost and calculate a cost breakdown for the current project (requires Infracost)

bool

--cost-usage-filePath to an infracost usage file to be used for the cost breakdown

string

--varA variable to pass to Terraform. Can be specified multiple times. (Format: --var='NAME=VALUE')

string

--var-filePath to a variable file to pass to Terraform. Can be specified multiple times.

string

--plan-filePath to an existing execution plan. (Generated with terraform plan -out plan.bin)

string

--plan-file-jsonPath to an existing JSON plan state. (Generated with terraform plan -out plan.bin and terraform show -json plan.bin > plan.json)

string