Skip to content

Commit 304c459

Browse files
Merge remote-tracking branch 'origin/fix-ami' into staging
2 parents 96e7269 + 27b348e commit 304c459

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/continuos_deployment_staging.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ jobs:
7373
7474
# Upload the plan as an artifact
7575
- name: Upload Terraform plan
76-
uses: actions/upload-artifact@v3
76+
uses: actions/upload-artifact@v4
7777
with:
78-
name: terraform-plan
78+
name: terraform-${{ env.ENVIRONMENT }}-plan
7979
path: terraform/${{ env.ENVIRONMENT }}/planfile
80+
if-no-files-found: 'warn'
81+
retention-days: 1
82+
overwrite: true

.github/workflows/continuos_deployment_staging_apply_changes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
uses: actions/checkout@v3
3030

3131
- name: Download Terraform plan
32-
uses: actions/download-artifact@v3
32+
uses: actions/download-artifact@v4
3333
with:
34-
name: terraform-plan
34+
name: terraform-${{ env.ENVIRONMENT }}-plan
3535
path: terraform/${{ env.ENVIRONMENT }}
3636

3737
- name: Terraform apply

0 commit comments

Comments
 (0)