Last active
December 27, 2018 22:46
-
-
Save danmaas/c1cded2945625776bfb4b612c0287876 to your computer and use it in GitHub Desktop.
AWS IAM policy for alb-ingress-controller (see https://github.com/helm/charts/tree/master/incubator/aws-alb-ingress-controller). This grants the necessary permissions to create and manage ALBs for supporting Kubernetes Ingress resources.
This file contains hidden or 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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": ["acm:DescribeCertificate", "acm:ListCertificates"], | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:CreateSecurityGroup", | |
"ec2:CreateTags", | |
"ec2:DeleteSecurityGroup", | |
"ec2:DescribeInstances", | |
"ec2:DescribeSecurityGroups", | |
"ec2:DescribeSubnets", | |
"ec2:DescribeTags", | |
"ec2:DescribeVpcs", | |
"ec2:ModifyInstanceAttribute", | |
"ec2:RevokeSecurityGroupIngress" | |
], | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": ["elasticloadbalancing:*"], | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": ["iam:GetServerCertificate", "iam:ListServerCertificates"], | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": ["waf-regional:GetWebACLForResource"], | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": ["tag:GetResources"], | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"waf:GetWebACL", | |
"waf:AssociateWebACL", | |
"waf:DisassociateWebACL" | |
], | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment