From 1780ebd97bfd07ffbef8765880395a9bfed87d09 Mon Sep 17 00:00:00 2001 From: Tom Keller <1083460+kellertk@users.noreply.github.com> Date: Tue, 4 Feb 2025 17:05:47 -0800 Subject: [PATCH] chore: create one-off test for CAWSC --- .github/workflows/cawsc-test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/cawsc-test.yml diff --git a/.github/workflows/cawsc-test.yml b/.github/workflows/cawsc-test.yml new file mode 100644 index 0000000..d2b1065 --- /dev/null +++ b/.github/workflows/cawsc-test.yml @@ -0,0 +1,20 @@ +name: Test Configure AWS Credential +on: + workflow_dispatch: + +jobs: + cawsc: + runs-on: ubuntu-latest + permissions: + id-token: write + steps: + - name: CAWSC + uses: aws-actions/configure-aws-credentials@main + with: + aws-region: us-west-2 + role-to-assume: ${{ secrets.SECRETS_AWS_PACKAGING_ROLE_TO_ASSUME }} + role-duration-seconds: 900 + role-session-name: TestCAWSC + - name: Whoami + run: | + aws sts get-caller-identity