Error: creating EKS Cluster (dev-eks-cluster): operation error EKS: CreateCluster, https response error StatusCode: 403, RequestID: 0c6a4167-7a21-49e7-9f41-2409c6452789, api error AccessDeniedException: User: arn:aws:iam::665641028736:user/kk_labs_user_192589 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::665641028736:role/eks-cluster-role because no identity-based policy allows the iam:PassRole action
Certain operations around putting up an EKS cluster won’t work in playgrounds – for an example of terraform code that will work, try this here.