Skip to content

Commit

Permalink
GitHubActionsRoleNextstrainBatchJobs: allow zika repo to assume role
Browse files Browse the repository at this point in the history
We will still have to maintain a list of repos that are allowed to
assume the role.
  • Loading branch information
joverlee521 committed Apr 9, 2024
1 parent 6231d2e commit cb1d709
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ resource "aws_iam_role" "GitHubActionsRoleNextstrainBatchJobs" {
"Condition": {
"StringLike": {
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com",
"token.actions.githubusercontent.com:sub": "repo:nextstrain/.github:*"
"token.actions.githubusercontent.com:sub": [
"repo:nextstrain/.github:*",
"repo:nextstrain/zika:*",
]
}
},
}
Expand Down

0 comments on commit cb1d709

Please sign in to comment.