gray-hamburger-90102
11/10/2021, 1:47 PMconst vpc = new awsx.ec2.Vpc("eks-vpc", {
cidrBlock: "10.21.0.0/16",
numberOfAvailabilityZones: "all",
});
I believe this makes a public and private subnet per AZ, so in my case that's 3 of each.
I'd like to change my cidr block to be 10.21.0.0/24
- when i do this and run the changes, it seems that it fails because the internet gateway can't be detached from the VPC - which I have narrowed down to the fact that each NAT gateway has a public IP associated to them that should probably be removed first:
Diagnostics:
pulumi:pulumi:Stack (bravissimo-platform-ec2-vpc):
error: update failed
aws:ec2:InternetGateway (eks-vpc):
error: 1 error occurred:
* updating urn:pulumi:vpc::bravissimo-platform-ec2::awsx:x:ec2:Vpc$awsx:x:ec2:InternetGateway$aws:ec2/internetGateway:InternetGateway::eks-vpc: 1 error occurred:
* Error waiting for internet gateway (igw-03ec74c6df2e8bd83) to detach: timeout while waiting for state to become 'detached' (last state: 'detaching', timeout: 15m0s)
Am I missing something here?white-balloon-205
11/11/2021, 4:00 AM