- Newest
- Most votes
- Most comments
Hello,
unfortunately, there is no possibility to change/remove primary CIDR assigned to VPC.
If primary CIDR for a VPC: 172.26.227.0/26 is a must, the solution would be to create new VPC with respective CIDR block and migrate the workloads from the old VPC.
Deletion/Change of the primary CIDR is forbidden in order to prevent breaking existing resources.
Best regards, Neven
answered a year ago
In your situation, you need to provision a new VPC with the correct CIDR. You can change the primary VPC CIDR and you cannot change the subnet CIDRs.
For VPC: you can create a new VPC with the correct CIDR. Delete the current if it does not have resources. Overlapping CIDR for multiple VPC is allowed. For Subnet: you can delete existing subnets and provision new subnets. Overlapping CIDR for subnets within same VPC not allowed.
Relevant content
asked 2 years ago
asked 8 years ago
asked 6 years ago
- AWS OFFICIALUpdated a year ago
