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