Skip to content

Commit 91247e2

Browse files
committed
OCPBUGS-44924: aws: add missing ec2:GetConsoleOutput perm requirement
The permission is needed when bootstrapping fails and the installer tries to gather the VM console logs.
1 parent 4d170c3 commit 91247e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/asset/installconfig/aws/permissions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ var permissions = map[PermissionGroup][]string{
116116
"ec2:DescribeVpcClassicLinkDnsSupport",
117117
"ec2:DescribeVpcEndpoints",
118118
"ec2:DescribeVpcs",
119+
"ec2:GetConsoleOutput", // for gathering VM console logs in case of failure.
119120
"ec2:GetEbsDefaultKmsKeyId",
120121
"ec2:ModifyInstanceAttribute",
121122
"ec2:ModifyNetworkInterfaceAttribute",

0 commit comments

Comments
 (0)