Skip to content

Commit

Permalink
improvement: add ec2:DescribeInternetGateways perms to cluster IAM role
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-sukhomlyn committed Jun 9, 2020
1 parent e57414c commit 8317af9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ data "aws_iam_policy_document" "cluster_elb_sl_role_creation" {

statement {
effect = "Allow"
actions = ["ec2:DescribeAccountAttributes"]
actions = [
"ec2:DescribeAccountAttributes",
"ec2:DescribeInternetGateways"
]
resources = ["*"]
}
}
Expand Down

0 comments on commit 8317af9

Please sign in to comment.