diff --git a/.github/workflows/test-atmos-pro-enabled.yml b/.github/workflows/integration-atmos-pro-tests.yml similarity index 95% rename from .github/workflows/test-atmos-pro-enabled.yml rename to .github/workflows/integration-atmos-pro-tests.yml index 323aa8f8..8f20c73b 100644 --- a/.github/workflows/test-atmos-pro-enabled.yml +++ b/.github/workflows/integration-atmos-pro-tests.yml @@ -47,7 +47,7 @@ jobs: cat ${{ runner.temp }}/atmos.yaml - name: Plan Atmos Component - uses: cloudposse/github-action-atmos-terraform-plan@v4 + uses: cloudposse/github-action-atmos-terraform-plan@v5 with: component: "foobar-atmos-pro" stack: "plat-ue2-sandbox" @@ -80,7 +80,7 @@ jobs: steps: - uses: nick-fields/assert-action@v2 with: - expected: 'succeeded' + expected: "succeeded" actual: "${{ needs.test.outputs.result }}" teardown: @@ -89,4 +89,4 @@ jobs: if: ${{ always() }} steps: - name: Tear down - run: echo "Do Tear down" \ No newline at end of file + run: echo "Do Tear down" diff --git a/action.yml b/action.yml index 00a77df7..10dc7697 100644 --- a/action.yml +++ b/action.yml @@ -410,9 +410,9 @@ runs: --output "${{ github.workspace }}/atmos-apply-summary.md" \ --log-level $([[ "${{ inputs.debug }}" == "true" ]] && echo "DEBUG" || echo "INFO") \ apply -- \ - atmos terraform apply ${{ inputs.component }} \ + atmos terraform deploy ${{ inputs.component }} \ --stack ${{ inputs.stack }} \ - -auto-approve \ + --planfile ${{ steps.vars.outputs.plan_file }} \ -input=false \ -no-color \ &> ${TERRAFORM_OUTPUT_FILE}