shared-actions/aws-configure
Markus Opahle 5d6b2ce81b
Some checks failed
validate-shared-actions / validate-shared-actions (pull_request) Has been cancelled
ci: add codeowners
2026-04-24 16:05:57 +02:00
..
action.yml ci: add codeowners 2026-04-24 16:05:57 +02:00
README.md ci: add codeowners 2026-04-24 16:05:57 +02:00

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: true on the Forgejo runner job.
  • Credentials are exported via $FORGEJO_ENV so subsequent steps can use them.
  • When aws-profile is not default, a named AWS CLI profile is also configured.