diff --git a/README.md b/README.md index ae14122c0..256ca162b 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,14 @@ resource "ec_deployment" "example_minimal" { } ``` +```hcl +# Delete an Elastic Cloud deployment +# To target a specific deployment for destruction, Terraform provides the --target option. This option allows you to specify a particular resource that you want to destroy, leaving the rest of your infrastructure intact. +# The command syntax is as follows: terraform destroy --target +# Let's assume we want to delete the previously created deployment +terraform destroy --target ec_deployment.example_minimal +``` + ## Developer Requirements - [Terraform](https://www.terraform.io/downloads.html) 0.13+