| .. | ||
| action.yml | ||
| README.md | ||
aws-configure
Authenticate with AWS via OIDC and export credentials to the environment.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
role-arn |
Yes | Full IAM role ARN | |
aws-profile |
No | default |
Profile name written to ~/.aws/config |
region |
No | eu-central-1 |
AWS region |
Usage
- uses: schmalz/shared-actions/.github/actions/aws-configure@v1
with:
role-arn: arn:aws:iam::123456789012:role/my-role
Notes
- Requires
enable-openid-connect: trueon the Forgejo runner job. - Credentials are exported via
$FORGEJO_ENVso subsequent steps can use them. - When
aws-profileis notdefault, a named AWS CLI profile is also configured.