File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -46,22 +46,24 @@ jobs:
4646 uses : actions/upload-artifact@v4
4747 with :
4848 name : tfplan
49- path : tfplan
49+ path : |
50+ tfplan
51+ .terraform.lock.hcl
5052
51- wait-for-approval :
52- name : Manual Approval
53- runs-on : ubuntu-latest
54- needs : terraform-plan
55- environment : prod-approval # ✅ GitHub Environment for manual approval
53+ # wait-for-approval:
54+ # name: Manual Approval
55+ # runs-on: ubuntu-latest
56+ # needs: terraform-plan
57+ # environment: prod-approval # ✅ GitHub Environment for manual approval
5658
57- steps :
58- - name : Approval Pending
59- run : echo "Waiting for manual approval via GitHub environment..."
59+ # steps:
60+ # - name: Approval Pending
61+ # run: echo "Waiting for manual approval via GitHub environment..."
6062
6163 terraform-apply :
6264 name : Terraform Apply
6365 runs-on : ubuntu-latest
64- needs : wait-for-approval
66+ needs : terraform-plan
6567 environment : prod-approval # 👈 This enables manual approval
6668
6769 env :
You can’t perform that action at this time.
0 commit comments