All Collections
Troubleshooting
Creating an EKS Cluster fails with 'Cannot create a VPC'
Creating an EKS Cluster fails with 'Cannot create a VPC'
Amazon EKS Cluster Creation through gopaddle portal fails while creating the VPC
Vinothini Raju avatar
Written by Vinothini Raju
Updated over a week ago

Scenario

Creating an EKS cluster through gopaddle fails with the error "Cannot create a VPC". The cluster moves to Unknown status and the Activity Logs shows the below messages.

Solution

The above issue could happen for various reasons. To identify the exact cause of failure, select the Stack Logs section and choose VPC Stack from the drop down. In this scenario, you can find the corresponding reason for CREATE_FAILED as "API: ec2:ModifySubnetAttribute You are not authorized to perform this operation."

This indicates that the IAM User used to register the corresponding AWS Cloud Account needs ec2:ModifySubnetAttribute to update the subnets within the VPC. Once the IAM user is updated with the new permission, create a new cluster once again from the gopaddle portal.

Did this answer your question?