Skip to content

Update terraform_plan.yaml #36

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/terraform_apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

concurrency:
group: ${{ github.repo }}-${{ vars.terraform_workspace }}
cancel-in-progress: false

permissions: write-all
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down Expand Up @@ -97,7 +98,13 @@ jobs:
HTTP_PROXY: http://proxy.tco.census.gov:3128
HTTPS_PROXY: http://proxy.tco.census.gov:3128
NO_PROXY: ".census.gov,169.254.169.254,148.129.*,10.*,172.18.*,172.22.*,172.23.*,172.24.*,172.25.*,.eks.amazonaws.com,.s3.amazonaws.com,.amazonaws.com"


- name: s3-cleanup
uses: CSVD/s3-cleanup@main
if: ${{ failure() }}
with:
cache_key: ${{ steps.terraform_init.outputs.s3_upload_path }}
bucket: image-pipeline-assets
Apply:
# The type of runner that the job will run on
runs-on: ["229685449397"]
Expand Down Expand Up @@ -139,4 +146,9 @@ jobs:
HTTPS_PROXY: http://proxy.tco.census.gov:3128
NO_PROXY: ".census.gov,169.254.169.254,148.129.*,10.*,172.18.*,172.22.*,172.23.*,172.24.*,172.25.*,.eks.amazonaws.com,.s3.amazonaws.com,.amazonaws.com"


- name: s3-cleanup
uses: CSVD/s3-cleanup@main
if: ${{ always() }}
with:
cache_key: ${{ steps.terraform_init.outputs.s3_upload_path }}
bucket: image-pipeline-assets
2 changes: 2 additions & 0 deletions .github/workflows/terraform_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

concurrency:
group: ${{ github.repo }}-${{ vars.terraform_workspace }}
cancel-in-progress: false

permissions: write-all
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down Expand Up @@ -87,6 +88,7 @@ jobs:

- name: s3-cleanup
uses: CSVD/s3-cleanup@main
if: ${{ always() }}
with:
cache_key: ${{ steps.terraform_init.outputs.s3_upload_path }}
bucket: image-pipeline-assets