Skip to content

Commit

Permalink
Bugfix: add ModifyVpcAttribute and DescribeVolumes permissions (#820)
Browse files Browse the repository at this point in the history
* Bugfix: add ModifyVpcAttribute permissions

Signed-off-by: guohaowang <wangguohao.2009@gmail.com>

* Bugfix: add ec2:DescribeVolumes permissions

Signed-off-by: guohaowang <wangguohao.2009@gmail.com>
  • Loading branch information
Sn0rt authored and k8s-ci-robot committed Jun 11, 2019
1 parent e2abf2f commit 77da568
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cloud/aws/services/cloudformation/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func controllersPolicy(accountID string) *iam.PolicyDocument {
"ec2:CreateSubnet",
"ec2:CreateTags",
"ec2:CreateVpc",
"ec2:ModifyVpcAttribute",
"ec2:DeleteInternetGateway",
"ec2:DeleteNatGateway",
"ec2:DeleteRouteTable",
Expand All @@ -177,6 +178,7 @@ func controllersPolicy(accountID string) *iam.PolicyDocument {
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
"ec2:DescribeVolumes",
"ec2:DetachInternetGateway",
"ec2:DisassociateRouteTable",
"ec2:ModifyInstanceAttribute",
Expand Down

0 comments on commit 77da568

Please sign in to comment.