Terragrunt: Destroy single instance

Created on 10 Jan 2019  路  1Comment  路  Source: gruntwork-io/terragrunt

How do I destroy a single resource created with Terragrunt?

question

Most helpful comment

Terragrunt is just a wrapper for Terraform. To destroy all resources with Terraform, you'd run terraform destroy, so with Terragrunt, you'd run terragrunt destroy. To destroy a single resource with Terraform, you'd run terraform destroy -target=<RESOURCE>, so with Terragrunt, you'd run terragrunt destroy -target=<RESOURCE>.

>All comments

Terragrunt is just a wrapper for Terraform. To destroy all resources with Terraform, you'd run terraform destroy, so with Terragrunt, you'd run terragrunt destroy. To destroy a single resource with Terraform, you'd run terraform destroy -target=<RESOURCE>, so with Terragrunt, you'd run terragrunt destroy -target=<RESOURCE>.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zachwhaley picture zachwhaley  路  3Comments

lsc picture lsc  路  4Comments

shaharmor picture shaharmor  路  3Comments

Tensho picture Tensho  路  3Comments

jeffdyke picture jeffdyke  路  3Comments