Skip to content

Commit

Permalink
update aws oidc db enrollment role permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinFrazar committed Jul 26, 2024
1 parent 6c24047 commit 301e85c
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 @@ -142,7 +142,9 @@ export function ConfigureIamPerms({
"Action": [
"rds:DescribeDBInstances",
"rds:DescribeDBClusters",
"ec2:DescribeSecurityGroups"
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs"
],
"Resource": "*"
}
Expand Down

0 comments on commit 301e85c

Please sign in to comment.