mirror of
https://github.com/ghndrx/cdn-gregh-dev.git
synced 2026-02-13 00:04:59 +00:00
Add GitHub Actions workflow and IAM policies
This commit is contained in:
20
terraform/github-role-trust-policy.json
Normal file
20
terraform/github-role-trust-policy.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Effect": "Allow",
|
||||
"Principal": {
|
||||
"Federated": "arn:aws:iam::471112517070:oidc-provider/token.actions.githubusercontent.com"
|
||||
},
|
||||
"Action": "sts:AssumeRoleWithWebIdentity",
|
||||
"Condition": {
|
||||
"StringEquals": {
|
||||
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
|
||||
},
|
||||
"StringLike": {
|
||||
"token.actions.githubusercontent.com:sub": "repo:ghndrx/cdn-gregh-dev:*"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user