From fb49035dfc2e687e515525a7d968cd0eb92503d8 Mon Sep 17 00:00:00 2001 From: jacquelynsmale Date: Wed, 11 Dec 2024 14:42:18 -0900 Subject: [PATCH] set up the rest of the workflows --- .github/workflows/deploy-daac.yml | 6 ++---- .github/workflows/deploy-enterprise-test.yml | 2 +- .github/workflows/deploy-enterprise.yml | 6 ++---- .github/workflows/deploy-multi-burst-sandbox.yml | 6 ++---- .github/workflows/deploy-opera-disp-sandbox.yml | 6 ++---- 5 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/deploy-daac.yml b/.github/workflows/deploy-daac.yml index e8b17d463..7043ebf5d 100644 --- a/.github/workflows/deploy-daac.yml +++ b/.github/workflows/deploy-daac.yml @@ -68,11 +68,9 @@ jobs: steps: - uses: actions/checkout@v4.2.2 - - uses: aws-actions/configure-aws-credentials@v4 + - uses: aws-actions/configure-aws-credentials@4 with: - aws-access-key-id: ${{ secrets.V2_AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.V2_AWS_SECRET_ACCESS_KEY }} - aws-session-token: ${{ secrets.V2_AWS_SESSION_TOKEN }} + role-to-assume: ${{ secrets.CLOUDFORMATION_ROLE_ARN }} aws-region: ${{ secrets.AWS_REGION }} - uses: actions/setup-python@v5 diff --git a/.github/workflows/deploy-enterprise-test.yml b/.github/workflows/deploy-enterprise-test.yml index 82aa3d4a2..79f800a64 100644 --- a/.github/workflows/deploy-enterprise-test.yml +++ b/.github/workflows/deploy-enterprise-test.yml @@ -106,7 +106,7 @@ jobs: - uses: aws-actions/configure-aws-credentials@4 with: - role-to-assume: ${{ secrets.OIDC_ROLE_TO_ASSUME }} + role-to-assume: ${{ secrets.CLOUDFORMATION_ROLE_ARN }} aws-region: ${{ secrets.AWS_REGION }} - uses: actions/setup-python@v5 diff --git a/.github/workflows/deploy-enterprise.yml b/.github/workflows/deploy-enterprise.yml index 7eb29e145..2b31b9039 100644 --- a/.github/workflows/deploy-enterprise.yml +++ b/.github/workflows/deploy-enterprise.yml @@ -261,11 +261,9 @@ jobs: steps: - uses: actions/checkout@v4.2.2 - - uses: aws-actions/configure-aws-credentials@v4 + - uses: aws-actions/configure-aws-credentials@4 with: - aws-access-key-id: ${{ secrets.V2_AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.V2_AWS_SECRET_ACCESS_KEY }} - aws-session-token: ${{ secrets.V2_AWS_SESSION_TOKEN }} + role-to-assume: ${{ secrets.CLOUDFORMATION_ROLE_ARN }} aws-region: ${{ secrets.AWS_REGION }} - uses: actions/setup-python@v5 diff --git a/.github/workflows/deploy-multi-burst-sandbox.yml b/.github/workflows/deploy-multi-burst-sandbox.yml index b073dd11f..c1b6b6391 100644 --- a/.github/workflows/deploy-multi-burst-sandbox.yml +++ b/.github/workflows/deploy-multi-burst-sandbox.yml @@ -45,11 +45,9 @@ jobs: steps: - uses: actions/checkout@v4.2.2 - - uses: aws-actions/configure-aws-credentials@v4 + - uses: aws-actions/configure-aws-credentials@4 with: - aws-access-key-id: ${{ secrets.V2_AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.V2_AWS_SECRET_ACCESS_KEY }} - aws-session-token: ${{ secrets.V2_AWS_SESSION_TOKEN }} + role-to-assume: ${{ secrets.CLOUDFORMATION_ROLE_ARN }} aws-region: ${{ secrets.AWS_REGION }} - uses: actions/setup-python@v5 diff --git a/.github/workflows/deploy-opera-disp-sandbox.yml b/.github/workflows/deploy-opera-disp-sandbox.yml index 79bd24eac..c19a15e2e 100644 --- a/.github/workflows/deploy-opera-disp-sandbox.yml +++ b/.github/workflows/deploy-opera-disp-sandbox.yml @@ -40,11 +40,9 @@ jobs: steps: - uses: actions/checkout@v4.2.2 - - uses: aws-actions/configure-aws-credentials@v4 + - uses: aws-actions/configure-aws-credentials@4 with: - aws-access-key-id: ${{ secrets.V2_AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.V2_AWS_SECRET_ACCESS_KEY }} - aws-session-token: ${{ secrets.V2_AWS_SESSION_TOKEN }} + role-to-assume: ${{ secrets.CLOUDFORMATION_ROLE_ARN }} aws-region: ${{ secrets.AWS_REGION }} - uses: actions/setup-python@v5