Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Bump github action versions #73

Merged
merged 2 commits into from
Oct 9, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
use-installer: true

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
{% if cookiecutter.permissions_provider == "AWS IAM" -%}
aws-access-key-id: {{ '${{ env.PIPELINE_USER_ACCESS_KEY_ID }}' }}
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
- run: sam build --template ${SAM_TEMPLATE} --use-container

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
{% if cookiecutter.permissions_provider == "AWS IAM" -%}
aws-access-key-id: {{ '${{ env.PIPELINE_USER_ACCESS_KEY_ID }}' }}
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
run: sam build --template ${SAM_TEMPLATE} --use-container

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
{% if cookiecutter.permissions_provider == "AWS IAM" -%}
aws-access-key-id: {{ '${{ env.PIPELINE_USER_ACCESS_KEY_ID }}' }}
Expand All @@ -166,13 +166,13 @@ jobs:
--region ${TESTING_REGION} \
--output-template-file packaged-testing.yaml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: packaged-testing.yaml
path: packaged-testing.yaml

- name: Assume the prod pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
{% if cookiecutter.permissions_provider == "AWS IAM" -%}
aws-access-key-id: {{ '${{ env.PIPELINE_USER_ACCESS_KEY_ID }}' }}
Expand All @@ -194,7 +194,7 @@ jobs:
--region ${PROD_REGION} \
--output-template-file packaged-prod.yaml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: packaged-prod.yaml
path: packaged-prod.yaml
Expand All @@ -208,12 +208,12 @@ jobs:
- uses: aws-actions/setup-sam@v2
with:
use-installer: true
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: packaged-testing.yaml

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
{% if cookiecutter.permissions_provider == "AWS IAM" -%}
aws-access-key-id: {{ '${{ env.PIPELINE_USER_ACCESS_KEY_ID }}' }}
Expand Down Expand Up @@ -259,12 +259,12 @@ jobs:
- uses: aws-actions/setup-sam@v2
with:
use-installer: true
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: packaged-prod.yaml

- name: Assume the prod pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
{% if cookiecutter.permissions_provider == "AWS IAM" -%}
aws-access-key-id: {{ '${{ env.PIPELINE_USER_ACCESS_KEY_ID }}' }}
Expand Down
20 changes: 10 additions & 10 deletions tests/testfile_github/expected_iam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
use-installer: true

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ env.PIPELINE_USER_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.PIPELINE_USER_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- run: sam build --template ${SAM_TEMPLATE} --use-container

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ env.PIPELINE_USER_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.PIPELINE_USER_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
run: sam build --template ${SAM_TEMPLATE} --use-container

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ env.PIPELINE_USER_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.PIPELINE_USER_SECRET_ACCESS_KEY }}
Expand All @@ -133,13 +133,13 @@ jobs:
--region ${TESTING_REGION} \
--output-template-file packaged-testing.yaml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: packaged-testing.yaml
path: packaged-testing.yaml

- name: Assume the prod pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ env.PIPELINE_USER_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.PIPELINE_USER_SECRET_ACCESS_KEY }}
Expand All @@ -157,7 +157,7 @@ jobs:
--region ${PROD_REGION} \
--output-template-file packaged-prod.yaml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: packaged-prod.yaml
path: packaged-prod.yaml
Expand All @@ -171,12 +171,12 @@ jobs:
- uses: aws-actions/setup-sam@v2
with:
use-installer: true
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: packaged-testing.yaml

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ env.PIPELINE_USER_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.PIPELINE_USER_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -218,12 +218,12 @@ jobs:
- uses: aws-actions/setup-sam@v2
with:
use-installer: true
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: packaged-prod.yaml

- name: Assume the prod pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ env.PIPELINE_USER_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ env.PIPELINE_USER_SECRET_ACCESS_KEY }}
Expand Down
20 changes: 10 additions & 10 deletions tests/testfile_github/expected_oidc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
use-installer: true

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ env.TESTING_REGION }}
role-to-assume: ${{ env.TESTING_PIPELINE_EXECUTION_ROLE }}
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- run: sam build --template ${SAM_TEMPLATE} --use-container

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ env.TESTING_REGION }}
role-to-assume: ${{ env.TESTING_PIPELINE_EXECUTION_ROLE }}
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
run: sam build --template ${SAM_TEMPLATE} --use-container

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ env.TESTING_REGION }}
role-to-assume: ${{ env.TESTING_PIPELINE_EXECUTION_ROLE }}
Expand All @@ -128,13 +128,13 @@ jobs:
--region ${TESTING_REGION} \
--output-template-file packaged-testing.yaml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: packaged-testing.yaml
path: packaged-testing.yaml

- name: Assume the prod pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ env.PROD_REGION }}
role-to-assume: ${{ env.PROD_PIPELINE_EXECUTION_ROLE }}
Expand All @@ -150,7 +150,7 @@ jobs:
--region ${PROD_REGION} \
--output-template-file packaged-prod.yaml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: packaged-prod.yaml
path: packaged-prod.yaml
Expand All @@ -164,12 +164,12 @@ jobs:
- uses: aws-actions/setup-sam@v2
with:
use-installer: true
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: packaged-testing.yaml

- name: Assume the testing pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ env.TESTING_REGION }}
role-to-assume: ${{ env.TESTING_PIPELINE_EXECUTION_ROLE }}
Expand Down Expand Up @@ -209,12 +209,12 @@ jobs:
- uses: aws-actions/setup-sam@v2
with:
use-installer: true
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: packaged-prod.yaml

- name: Assume the prod pipeline user role
uses: aws-actions/configure-aws-credentials@v1-node16
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ env.PROD_REGION }}
role-to-assume: ${{ env.PROD_PIPELINE_EXECUTION_ROLE }}
Expand Down
Loading