chore: create one-off test for CAWSC
This commit is contained in:
parent
a02ef26683
commit
1780ebd97b
1 changed files with 20 additions and 0 deletions
20
.github/workflows/cawsc-test.yml
vendored
Normal file
20
.github/workflows/cawsc-test.yml
vendored
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue