Skip to content

Commit

Permalink
Merge branch 'main' into feat/ip-reservation
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino authored Jan 20, 2024
2 parents 98561c3 + 375975c commit f1f5d0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
AWS_DEFAULT_REGION: us-east-1
AWS_ENDPOINT_URL: https://s3.us-east-005.backblazeb2.com
S3_BUCKET: terraform-state-backup
TF_CLI_ARGS: ""
run: |
terraform show -json > state.json
aws s3 cp state.json s3://${S3_BUCKET}/${{ github.repository }}/$(date +%s).json
Expand All @@ -53,7 +54,11 @@ jobs:
for file in ${DELETE_FILES}; do aws s3 rm s3://${S3_BUCKET}/$file; done
- run: terraform show -json tfplan > tfplan.json
env:
TF_CLI_ARGS: ""
- run: terraform show -no-color tfplan > summary.txt
env:
TF_CLI_ARGS: ""

- name: Create status check with details
uses: actions/github-script@v7
Expand Down

0 comments on commit f1f5d0f

Please sign in to comment.