@@ -29,49 +29,11 @@ jobs:
2929 environment : ${{ github.event.inputs.environment }}
3030
3131 steps :
32- <<<<<<< HEAD
33- <<<<<<< HEAD
34- <<<<<<< HEAD
35- <<<<<<< HEAD
36- <<<<<<< HEAD
37- <<<<<<< HEAD
3832 # Checkout the repository to the GitHub Actions runner
3933 - name : Checkout Base
4034 uses : actions/checkout@v5
4135 with :
4236 ref : main
43- =======
44- =======
45- >>>>>>> ae84789 ([NDR-108] temp removing base)
46- =======
47- >>>>>>> 043bc42 ([NDR-108] temp standing down base init)
48- # - name: Checkout Base
49- # uses: actions/checkout@v4
50- # with:
51- # ref: main
52- <<<<<<< HEAD
53- <<<<<<< HEAD
54- >>>>>>> fbff22f ([NDR-108] readding dynamo-db)
55- =======
56- =======
57- >>>>>>> f5406c0 ([NDR-108] re-adding db and making action right)
58- =======
59- >>>>>>> 1f51c26 ([NDR-108] set for pr)
60- - name : Checkout Base
61- uses : actions/checkout@v4
62- with :
63- ref : main
64- <<<<<<< HEAD
65- <<<<<<< HEAD
66- >>>>>>> 0716aef ([NDR-108] reverting the workflow)
67- =======
68- >>>>>>> ae84789 ([NDR-108] temp removing base)
69- =======
70- >>>>>>> f5406c0 ([NDR-108] re-adding db and making action right)
71- =======
72- >>>>>>> 043bc42 ([NDR-108] temp standing down base init)
73- =======
74- >>>>>>> 1f51c26 ([NDR-108] set for pr)
7537
7638 - name : Configure AWS Credentials
7739 uses : aws-actions/configure-aws-credentials@v4
@@ -96,20 +58,24 @@ jobs:
9658 run : terraform init -backend-config=backend.conf
9759 working-directory : ./infrastructure
9860 shell : bash
61+
9962 - name : Terraform Set Workspace Base
10063 id : base_workspace
10164 run : terraform workspace select -or-create ${{ github.event.inputs.sandboxWorkspace}}
10265 working-directory : ./infrastructure
10366 shell : bash
67+
10468 - name : Terraform Plan Base
10569 id : base_plan
10670 run : |
10771 terraform plan -input=false -no-color -var-file="${{vars.TF_VARS_FILE}}" -out tf-base.plan
10872 working-directory : ./infrastructure
10973 shell : bash
74+
11075 - name : Terraform Apply Base
11176 run : terraform apply -auto-approve -input=false tf-base.plan
11277 working-directory : ./infrastructure
78+
11379 - name : Checkout Branch
11480 uses : actions/checkout@v5
11581 with :
0 commit comments