Skip to content

Commit

Permalink
Merge pull request #9341 from mtulio/OCPBUGS-46596
Browse files Browse the repository at this point in the history
OCPBUGS-46596: aws/permissions - defaults ec2:DescribeInstanceTypeOfferings
  • Loading branch information
openshift-merge-bot[bot] authored Jan 18, 2025
2 parents cdd054f + 821b07b commit ec249ae
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 @@ -109,6 +109,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 @@ -337,8 +338,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 ec249ae

Please sign in to comment.