mirror of
https://github.com/Sea-Haven-Industries/seahaven-org-baseline.git
synced 2026-10-07 10:18:54 +00:00
fix(ci): let the runner apply role read EKS service roles (#181)
This commit is contained in:
parent
98c11e09ad
commit
ce41cfecda
1 changed files with 10 additions and 0 deletions
|
|
@ -393,6 +393,16 @@ function iamPolicyDocument(): object {
|
||||||
],
|
],
|
||||||
Resource: `arn:aws:iam::${ACCOUNT}:oidc-provider/*`,
|
Resource: `arn:aws:iam::${ACCOUNT}:oidc-provider/*`,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Sid: "ReadEksServiceRoles",
|
||||||
|
Effect: "Allow",
|
||||||
|
Action: "iam:GetRole",
|
||||||
|
Resource: [
|
||||||
|
`arn:aws:iam::${ACCOUNT}:role/aws-service-role/eks.amazonaws.com/*`,
|
||||||
|
`arn:aws:iam::${ACCOUNT}:role/aws-service-role/eks-fargate-pods.amazonaws.com/*`,
|
||||||
|
`arn:aws:iam::${ACCOUNT}:role/aws-service-role/eks-nodegroup.amazonaws.com/*`,
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Sid: "ServiceLinkedRoles",
|
Sid: "ServiceLinkedRoles",
|
||||||
Effect: "Allow",
|
Effect: "Allow",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue