This repository demonstrates how to allow a specific GitHub repository to invoke actions on AWS from GitHub Actions using OpenID Connect (OIDC).
To install the project's dependencies and deploy the OIDC provider and required IAM role to AWS, run the following:
npm ci
npx cdk deploy
Next, the GitHub Actions workflow can be used to invoke actions on AWS. For an example implementation, see .github/workflows/oidc.yml
.