-
Notifications
You must be signed in to change notification settings - Fork 544
Closed
Labels
Description
Describe the bug
With this step:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4.2.1
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: ${{ secrets.AWS_REGION }}
All is good and dandy.
With this:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: ${{ secrets.AWS_REGION }}
I get:
##[debug]Evaluating condition for step: 'Configure AWS credentials'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Configure AWS credentials
##[debug]Register post job cleanup for action: aws-actions/configure-aws-credentials@v4
##[debug]Loading inputs
##[debug]Evaluating: secrets.AWS_ROLE_ARN
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'AWS_ROLE_ARN'
##[debug]=> null
##[debug]Result: null
##[debug]Evaluating: secrets.AWS_REGION
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'AWS_REGION'
##[debug]=> null
##[debug]Result: null
##[debug]Loading env
Run aws-actions/configure-aws-credentials@v4
Error: Input required and not supplied: aws-region
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Configure AWS credentials
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
I expect the latest version (v4.3.1) to behave as v4.2.1, given no major change to the interface was documented.
Current Behavior
Credentials are not obtained.
Reproduction Steps
See above description.
Possible Solution
No response
Additional Information/Context
No response
Mark-Dodson-MT