From 793009667f4d0c87595587b28d76c35ddd5bc421 Mon Sep 17 00:00:00 2001 From: g-lorena Date: Mon, 29 Apr 2024 18:50:07 +0200 Subject: [PATCH] change terraform destroy to access s3 path --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 48be24b..b671ef0 100644 --- a/Makefile +++ b/Makefile @@ -14,4 +14,5 @@ terraform-apply: terraform -chdir=$(TERRAFORM_DIR) apply -auto-approve -input=false terraform-destroy: - terraform -chdir=$(TERRAFORM_DIR) destroy -auto-approve \ No newline at end of file +#terraform -chdir=$(TERRAFORM_DIR) destroy -auto-approve + terraform destroy -state=s3://${AWS_BUCKET_NAME}/${AWS_BUCKET_KEY_NAME} \ No newline at end of file