Hi , while i am trying to create a EKS cluster using CLI in AWS Playground Labs I am getting following error , the command I am using is
eksctl create cluster --name eks-demo1 --version 1.21 --region us-west-2 --nodegroup-name default-ng --node-type t3.micro --nodes 1
And the error I am getting is, can someone please look into this issue?
2022-09-16 05:47:18 [✖] AWS::EC2::RouteTable/PrivateRouteTableUSEAST1A: CREATE_FAILED – "Resource creation cancelled"
2022-09-16 05:47:18 [✖] AWS::EC2::RouteTable/PrivateRouteTableUSEAST1C: CREATE_FAILED – "Resource creation cancelled"
2022-09-16 05:47:18 [✖] AWS::EC2::RouteTable/PublicRouteTable: CREATE_FAILED – "Resource creation cancelled"
2022-09-16 05:47:18 [✖] AWS::EC2::VPCGatewayAttachment/VPCGatewayAttachment: CREATE_FAILED – "Resource creation cancelled"
2022-09-16 05:47:18 [✖] AWS::IAM::Policy/PolicyCloudWatchMetrics: CREATE_FAILED – "API: iam:PutRolePolicy User: arn:aws:iam::234696253577:user/odl_user_732321 is not authorized to perform: iam:PutRolePolicy on resource: role eksctl-dev-cluster-ServiceRole-1CPYLLR7P31PB with an explicit deny in an identity-based policy"
2022-09-16 05:47:18 [✖] AWS::IAM::Policy/PolicyELBPermissions: CREATE_FAILED – "API: iam:PutRolePolicy User: arn:aws:iam::234696253577:user/odl_user_732321 is not authorized to perform: iam:PutRolePolicy on resource: role eksctl-dev-cluster-ServiceRole-1CPYLLR7P31PB with an explicit deny in an identity-based policy"