diff --git a/.github/workflows/sonar_single_account_cli.yml b/.github/workflows/sonar_single_account_cli.yml index 31c5ba2e..3292e908 100644 --- a/.github/workflows/sonar_single_account_cli.yml +++ b/.github/workflows/sonar_single_account_cli.yml @@ -212,7 +212,7 @@ jobs: envs: REMOTE_EXAMPLE_DIR,TF_WORKSPACE script: | printenv - terraform -chdir=$REMOTE_EXAMPLE_DIR plan + terraform -chdir=$REMOTE_EXAMPLE_DIR -var additional_tags='${{ env.TF_VAR_additional_tags }}' plan - name: Terraform Apply uses: appleboy/ssh-action@v1.0.0 @@ -223,7 +223,7 @@ jobs: port: 22 command_timeout: "2h" envs: REMOTE_EXAMPLE_DIR,TF_WORKSPACE - script: terraform -chdir=$REMOTE_EXAMPLE_DIR apply -auto-approve + script: terraform -chdir=$REMOTE_EXAMPLE_DIR apply -var additional_tags='${{env.TF_VAR_additional_tags }}''-auto-approve - name: Terraform Output if: always()