In this section, we’ll set up OIDC authentication between GitHub Actions and AWS using a CloudFormation template.
Download the CloudFormation template from our GitHub repository:
:button[Download GitHub OIDC Template]{href=":assetUrl{path=’/infrastructure/github-oidc.yaml’}" action=“download”}
:::alert{header=“Important” type=“warning”}
If you are in an AWS Event, click here to access the provisioned AWS Account. If you are working on this in your own AWS Account, please ignore this message. :::
Open the AWS CloudFormation Console
Click “Create stack” → “With new resources (standard)”
Under “Specify template”:
Select “Upload a template file”
Click “Choose file”
Select the github-oidc.yaml
you downloaded
Click “Next”
https://catalog.us-east-1.prod.workshops.aws/event/account-login
github-oidc-stack
*
for all repositories)Once the stack creation is complete:
Once you have your Role ARN, proceed to the next section where we’ll set up our GitHub Secrets.
If your stack fails to create: