Solution for vpc problem
- VPC is part of EC2 Refer Here
- IAM Policies can be tested using IAM Policy simulator Refer Here
- Policies can be generated using policy generator Refer Here
- Refer Here for the policy generated
- Create an IAM Policy for full eks access and assign to avengers
- Create an IAM Policy for readonly eks access and assign to justice league (Describe, list, get)
- Refer Here for the eks action, resources table.
- Use policy simulator and then do actual testing.