I was looking into creating an EKS cluster and allowing 1-2 IAM roles and IAM users to use EKS cluser with kubectl tool (basically I want to map users/roles with eks/k8s roles). I want to set up all of this with cloudformation.
When I use the eksctl it is simple to add users/roles in the aws-auth config map but with cloud formation how I can achieve this? Do I need OIDC provider? If so how to install it with cloudformation, please advise.
Thanks in advance.