creamy-knife-93354
05/11/2021, 3:28 PMpulumi destroy
. Do I have to resolve things manually in the AWS Console (e.g. by mapping the VPC to a different route table, or something)?
aws:ec2:RouteTable (development-vpc-route-table-public):
error: deleting urn:pulumi:development::playground-infrastructure::aws:ec2/routeTable:RouteTable::development-vpc-route-table-public: 1 error occurred:
* InvalidParameterValue: cannot disassociate the main route table association rtbassoc-035832433d2a099be
status code: 400, request id: c0f480d9-abe5-472d-96f2-27c71a837aff
billowy-army-68599
05/11/2021, 3:30 PMcreamy-knife-93354
05/11/2021, 3:34 PMMainRouteTableAssociation
. Not sure what's gone wrong here...billowy-army-68599
05/11/2021, 3:34 PMcreamy-knife-93354
05/11/2021, 3:41 PMvar vpcRouteTable = new RouteTable($"{stack}-vpc-route-table-public", new RouteTableArgs
{
VpcId = vpc.Id,
Routes = new []
{
new RouteTableRouteArgs
{
CidrBlock = "0.0.0.0/0",
GatewayId = igw.Id,
}
}
});
var vpcRouteTableAssociation = new MainRouteTableAssociation($"{stack}-vpc-route-table-association",
new MainRouteTableAssociationArgs
{
VpcId = vpc.Id,
RouteTableId = vpcRouteTable.Id
});
billowy-army-68599
05/11/2021, 3:43 PMcreamy-knife-93354
05/11/2021, 3:48 PM