Assume Role with GitHub OpenID Connect
1. Add oidc provider to your AWS account
Deploy github-oidc-provider.yaml
2. Add role for github actions
Role |
Description |
Launth |
public-image-publishing |
Publish docker image to ECR Public |
|
image-publishing |
Publish docker image to ECR |
|
file-publishing |
Publish static files to S3 Bucket |
|
cdk-deploy |
CDK Deploy |
|
cdk-assets-publishing |
Publish CDK assets to S3 Bucket |
|
sam-publishing |
Publish SAM Application |
|