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 authored and github-actions committed Jul 29, 2024
1 parent b197b3e commit 64adbfa
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 64adbfa

Please sign in to comment.