I tried to create an AWS CloudFormation stack but it failed with the error "Route did not stabilize in expected time." How do I fix this?
This error occurs when assigning the wrong values to either the GatewayId property or the NatGatewayId property of the AWS::EC2::Route type.
For example, in the following snippet the value of a NatGatewayId property is assigned to the GatewayId property:
MyRoute": { "Type" : "AWS::EC2::Route", "Properties" : { "DestinationCidrBlock" : "0.0.0.0/0", "GatewayId" : "nat-0a12bc456789de0fg", "RouteTableId" : {"Ref":"MyRouteTable"} } }
Be sure that you assign the correct value to the corresponding property. For example:
"GatewayId" : "igw-eaad4883" -or- "NatGatewayId" : "nat-0a12bc456789de0fg"
Important: Specify only one of the following properties for your AWS::EC2::ROUTE resource.
Did this page help you? Yes | No
Back to the AWS Support Knowledge Center
Need help? Visit the AWS Support Center.
Published: 2015-08-31
Updated: 2018-04-10