From 3d520ac71bdf066c63dad8c91aeeaba299012938 Mon Sep 17 00:00:00 2001 From: shanice-skylight Date: Fri, 3 Jan 2025 13:19:23 -0500 Subject: [PATCH] added auto-approve to terraform apply command --- .github/workflows/ecs_deployment_plan.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ecs_deployment_plan.yaml b/.github/workflows/ecs_deployment_plan.yaml index 0a9ca091..049a9f71 100644 --- a/.github/workflows/ecs_deployment_plan.yaml +++ b/.github/workflows/ecs_deployment_plan.yaml @@ -74,7 +74,7 @@ jobs: -backend-config "region=$REGION" \ || (echo "terraform init failed, exiting..." && exit 1) terraform workspace select "$WORKSPACE" - terraform apply -target=module.ecs.aws_alb.ecs + terraform apply -auto-approve -target=module.ecs.aws_alb.ecs terraform plan -out=tfplan \ -var-file="$WORKSPACE.tfvars" \ -var "umls_api_key=${UMLS_API_KEY}" \