@@ -30,19 +30,15 @@ jobs:
3030 - shell : bash
3131 run : |
3232 mkdir -p ${{ runner.temp }}
33- cat > ${{ runner.temp }}/atmos-gitops.yaml <<EOL
34- atmos-version: 1.45.3
35- atmos-config-path: ./tests/
36- terraform-state-bucket: ${{ secrets.TERRAFORM_STATE_BUCKET }}
37- terraform-state-table: ${{ secrets.TERRAFORM_STATE_TABLE }}
38- terraform-state-role: ${{ secrets.TERRAFORM_STATE_ROLE }}
39- terraform-plan-role: ${{ secrets.TERRAFORM_PLAN_ROLE }}
40- terraform-version: 1.5.2
41- enable-infracost: false
42- aws-region: ${{ env.AWS_REGION }}
43- sort-by: .stack_slug
44- group-by: .stack_slug | split("-") | [.[0], .[2]] | join("-")
45- EOL
33+ cp ./tests/atmos.yaml ${{ runner.temp }}/atmos.yaml
34+ sed -i -e 's#__INFRACOST_ENABLED__#false#g' ${{ runner.temp }}/atmos.yaml
35+ sed -i -e 's#__STORAGE_REGION__#${{ env.AWS_REGION }}#g' ${{ runner.temp }}/atmos.yaml
36+ sed -i -e 's#__STORAGE_BUCKET__#${{ secrets.TERRAFORM_STATE_BUCKET }}#g' ${{ runner.temp }}/atmos.yaml
37+ sed -i -e 's#__STORAGE_TABLE__#${{ secrets.TERRAFORM_STATE_TABLE }}#g' ${{ runner.temp }}/atmos.yaml
38+ sed -i -e 's#__STORAGE_TABLE__#${{ secrets.TERRAFORM_STATE_TABLE }}#g' ${{ runner.temp }}/atmos.yaml
39+ sed -i -e 's#__STORAGE_ROLE__#${{ secrets.TERRAFORM_STATE_ROLE }}#g' ${{ runner.temp }}/atmos.yaml
40+ sed -i -e 's#__PLAN_ROLE__#${{ secrets.TERRAFORM_PLAN_ROLE }}#g' ${{ runner.temp }}/atmos.yaml
41+ sed -i -e 's#__APPLY_ROLE__#${{ secrets.TERRAFORM_PLAN_ROLE }}#g' ${{ runner.temp }}/atmos.yaml
4642
4743 - name : Plan Atmos Component
4844 id : current
5248 stack : " plat-ue2-sandbox"
5349 sha : da39a3ee5e6b4b0d3255bfef95601890afd80709
5450 drift-detection-mode-enabled : true
55- atmos-gitops-config-path : " ${{ runner.temp }}/atmos-gitops.yaml"
51+ atmos-config-path : ${{ runner.temp }}
52+ atmos-version : 1.63.0
5653
5754 outputs :
5855 result : ${{ steps.current.outcome }}
0 commit comments