Documentation on EKS Gitlab managed cluster is not correct.
Problem to solve
When creating the Role for EKS i used the policy given in the docs https://gitlab.com/help/user/project/clusters/add_eks_clusters.md#new-eks-cluster at point 9.
When running creating the Cluster it failed because we are missing iam:ListAttachedRolePolicies
.
Further details
After adding iam:ListAttachedRolePolicies
to the policy i could create the GitLab managed cluster.
Proposal
Add iam:ListAttachedRolePolicies
to the policy in the documentation https://gitlab.com/help/user/project/clusters/add_eks_clusters.md#new-eks-cluster
Who can address the issue
Gitlab