diff --git a/README.md b/README.md index 48bacc2..ef45b79 100644 --- a/README.md +++ b/README.md @@ -133,16 +133,7 @@ Terraform configuration as usual. Follow this procedure to delete your deployment. -1. In `main.tf`, change the `terraform_state_backend` module arguments as - follows: - ```hcl - module "terraform_state_backend" { - # ... - terraform_backend_config_file_path = "" - force_destroy = true - } - ``` -1. `terraform apply -target module.terraform_state_backend -auto-approve`. +1. `terraform destroy -target module.terraform_state_backend.local_file.terraform_backend_config -auto-approve`. This implements the above modifications by deleting the `backend.tf` file and enabling deletion of the S3 state bucket. 1. `terraform init -force-copy`. Terraform detects that you want to move your