From c77c5db3051f94385a6b39793853e464cf7d4306 Mon Sep 17 00:00:00 2001 From: Roi Klorin Date: Sun, 8 Dec 2024 14:43:09 +0200 Subject: [PATCH] wrote tags to tfvars in single account workflow --- .github/workflows/sonar_single_account_cli.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonar_single_account_cli.yml b/.github/workflows/sonar_single_account_cli.yml index 31c5ba2e..296e985b 100644 --- a/.github/workflows/sonar_single_account_cli.yml +++ b/.github/workflows/sonar_single_account_cli.yml @@ -42,8 +42,7 @@ env: JUMP_SERVER_KEY: ${{ secrets.JUMP_SERVER_KEY }} AWS_REGION: ap-southeast-1 TF_WORKSPACE: sonar_single_account_cli - DESTROY_DELAY_SECONDS: 1800 - TF_VAR_additional_tags: ${{ secrets.DEPLOYMENT_TAGS }} + DESTROY_DELAY_SECONDS: 10 permissions: contents: read @@ -138,8 +137,9 @@ jobs: run: | cat << EOF > $EXAMPLE_DIR/terraform.tfvars ${{ vars.TFVAR_PARAMETERS_SINGLE_ACCOUNT_AUTOMATION_V1 }} + ${{ secrets.DEPLOYMENT_TAGS }} EOF - + - name: View The Vars run: cat $EXAMPLE_DIR/terraform.tfvars