From 5f855d7b4e1ee3e619e52de4f491da2ad961e082 Mon Sep 17 00:00:00 2001 From: clincha Date: Thu, 25 Jan 2024 19:07:19 +0000 Subject: [PATCH] add auto-approve --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 252b10d..98a1f02 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ debug: build apply: build @echo "Applying..." - @podman run --entrypoint sh --env="TF_VAR*" --env="ARM_ACCESS_KEY=${ARM_ACCESS_KEY}" docker.io/clincha/terraform-init:${VERSION} -c "terraform init && terraform apply" + @podman run --entrypoint sh --env="TF_VAR*" --env="ARM_ACCESS_KEY=${ARM_ACCESS_KEY}" docker.io/clincha/terraform-init:${VERSION} -c "terraform init && terraform apply -auto-approve" plan: build @echo "Planning..." @@ -27,4 +27,4 @@ plan: build destroy: build @echo "Destroying..." - @podman run --entrypoint sh --env="TF_VAR*" --env="ARM_ACCESS_KEY=${ARM_ACCESS_KEY}" docker.io/clincha/terraform-init:${VERSION} -c "terraform init && terraform destroy" \ No newline at end of file + @podman run --entrypoint sh --env="TF_VAR*" --env="ARM_ACCESS_KEY=${ARM_ACCESS_KEY}" docker.io/clincha/terraform-init:${VERSION} -c "terraform init && terraform destroy -auto-approve" \ No newline at end of file