ec2:DescribeVpcs missing from documentation as required for TargetGroupBinding SA minimal permissions #2542
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/documentation
Categorizes issue or PR as related to documentation.
Describe the bug
IAM Permissions for TargetGroupBinding only, states the following permissions:
It is missing "ec2:DescribeVpcs".
Steps to reproduce
Deploy the custom resource for TargetGroupBinding providing the SA with the permissions specified. The logs state "unauthorized", but don't indicate what is causing the error. Looking in CloudTrail you can find the offending "DescribeVpcs" call failing. Adding this permission fixes the error and the target group is updated.
Expected outcome
The aws-load-balancer-controller service account should work with the permissions documented.
Environment
Additional Context:
The text was updated successfully, but these errors were encountered: