Skip to content

Commit 1780ebd

Browse files
committed
chore: create one-off test for CAWSC
1 parent a02ef26 commit 1780ebd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/cawsc-test.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test Configure AWS Credential
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
cawsc:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
id-token: write
10+
steps:
11+
- name: CAWSC
12+
uses: aws-actions/configure-aws-credentials@main
13+
with:
14+
aws-region: us-west-2
15+
role-to-assume: ${{ secrets.SECRETS_AWS_PACKAGING_ROLE_TO_ASSUME }}
16+
role-duration-seconds: 900
17+
role-session-name: TestCAWSC
18+
- name: Whoami
19+
run: |
20+
aws sts get-caller-identity

0 commit comments

Comments
 (0)