-
Notifications
You must be signed in to change notification settings - Fork 562
Open
Labels
bugSomething isn't workingSomething isn't workingp2response-requestedWaiting on additional info and feedback. Will move to 'closing-soon' in 5 days.Waiting on additional info and feedback. Will move to 'closing-soon' in 5 days.
Description
I'm using self hosted GitHub runners and use their container role (aws configure list) as my base credentials from which I assume other credentials.
So I have disabled the use of OIDC.
- uses: aws-actions/configure-aws-credentials@v5.1.0
with:
role-to-assume: my-role
role-duration-seconds: 3600
aws-region: eu-west-1
force-skip-oidc: true
However, this gives me the following error:
If 'force-skip-oidc' is true and 'role-to-assume' is set, 'aws-access-key-id' or 'web-identity-token-file' must be set
As the logic in there requires one of those settings to be active: https://github.com/aws-actions/configure-aws-credentials/blame/b1257c400167d727708335212f95607835cd03fd/src/index.ts#L74
However, in my case I don't want any of those to be active. Can this check be removed so that I can use the Container Role while force skipping OIDC?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingp2response-requestedWaiting on additional info and feedback. Will move to 'closing-soon' in 5 days.Waiting on additional info and feedback. Will move to 'closing-soon' in 5 days.