Skip to content

Commit

Permalink
Merge pull request #10 from cloudera/DWX-17748
Browse files Browse the repository at this point in the history
DWX-17748 Modify cdw-policies to support DescribeInstanceTypes operation
  • Loading branch information
roohisyeda committed Mar 22, 2024
2 parents 6462a91 + cff13e3 commit f3c7e07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aws-iam-policies/docs/restricted-policy-doc-1.json5
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,13 @@
"ec2:CreateTags",
// Tag subnets and eks security group
// See footnote 2
"ec2:CreateKeyPair"
"ec2:CreateKeyPair",
// Create ssh Public key pair, pass to ec2
// instances. Not required if passed/set/
// reused via CB
"ec2:DescribeInstanceTypes"
// validate whether instance type is supported in a
// region or not
],
"Resource": "*"
},
Expand Down
1 change: 1 addition & 0 deletions aws-iam-policies/reduced-permissions-mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"ec2:DescribeSubNets",
"ec2:DescribeVpcAttribute",
"ec2:DescribeVpcs",
"ec2:DescribeInstanceTypes",
"iam:ListAttachedRolePolicies",
"iam:SimulatePrincipalPolicy",
"s3:GetBucketLocation",
Expand Down

0 comments on commit f3c7e07

Please sign in to comment.