Skip to content

Commit

Permalink
OCPBUGS-46596: aws/permissions - added ec2:DescribeInstanceTypeOfferi…
Browse files Browse the repository at this point in the history
…ngs by default create
  • Loading branch information
mtulio committed Jan 2, 2025
1 parent ec72ce6 commit a55de52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/asset/installconfig/aws/permissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ var permissions = map[PermissionGroup][]string{
"ec2:DescribeInstanceAttribute",
"ec2:DescribeInstanceCreditSpecifications",
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypeOfferings", // Needed to filter zones by instance type
"ec2:DescribeInternetGateways",
"ec2:DescribeKeyPairs",
"ec2:DescribeNatGateways",
Expand Down Expand Up @@ -333,8 +334,6 @@ var permissions = map[PermissionGroup][]string{
PermissionDefaultZones: {
// Needed to list the zones available in the region
"ec2:DescribeAvailabilityZones",
// Needed to filter zones by instance type
"ec2:DescribeInstanceTypeOfferings",
},
PermissionAssumeRole: {
// Needed so the installer can use the provided custom IAM role
Expand Down

0 comments on commit a55de52

Please sign in to comment.