Skip to content

Commit

Permalink
update aws oidc db enrollment role permissions (#44717)
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinFrazar authored Jul 29, 2024
1 parent 14dccc6 commit 558d71a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/cloud/aws/policy_statements.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ func StatementForListRDSDatabases() *Statement {
"rds:DescribeDBInstances",
"rds:DescribeDBClusters",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
},
Resources: allResources,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ export function ConfigureIamPerms({
"Action": [
"rds:DescribeDBInstances",
"rds:DescribeDBClusters",
"ec2:DescribeSecurityGroups"
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs"
],
"Resource": "*"
}
Expand Down

0 comments on commit 558d71a

Please sign in to comment.