Created
May 6, 2022 11:13
-
-
Save dallasmarlow/59d651b621eb8a049e785ca8827e9374 to your computer and use it in GitHub Desktop.
EKS IAM policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Statement": [ | |
{ | |
"Action": [ | |
"eks:UpdateClusterVersion", | |
"eks:UpdateClusterConfig", | |
"eks:UntagResource", | |
"eks:TagResource", | |
"eks:ListClusters", | |
"eks:DescribeCluster", | |
"eks:DeleteCluster", | |
"eks:CreateCluster", | |
"eks:AssociateEncryptionConfig" | |
], | |
"Effect": "Allow", | |
"Resource": "arn:*:eks:*:*:cluster/*", | |
"Sid": "" | |
}, | |
{ | |
"Action": [ | |
"iam:listAttachedRolePolicies", | |
"iam:CreateServiceLinkedRole" | |
], | |
"Effect": "Allow", | |
"Resource": "arn:aws:iam::*:role/aws-service-role/*", | |
"Sid": "" | |
}, | |
{ | |
"Action": "iam:PassRole", | |
"Effect": "Allow", | |
"Resource": "<EKS Cluster Role ARN>", | |
"Sid": "" | |
}, | |
{ | |
"Action": [ | |
"kms:DescribeKey", | |
"kms:CreateGrant" | |
], | |
"Effect": "Allow", | |
"Resource": "<EKS KMS Key ARN>", | |
"Sid": "" | |
} | |
], | |
"Version": "2012-10-17" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment