Creation of an AWS CloudFormation stack fails, with the error message "Route did not stabilize in expected time."

This error typically occurs when incorrect values are assigned to one of the properties of the type AWS::EC2::Route.

For example, in the following snippet, the incorrect value of a VPC peering connection (pcx-123456) is assigned to the Internet gateway (GatewayId) property:

MyRoute":
{
      "Type" : "AWS::EC2::Route",
      "Properties" : {
           "DestinationCidrBlock" : "0.0.0.0/0",
           "GatewayId" : "pcx-123456",
           "RouteTableId" : {"Ref":"MyRouteTable"},
      }
}

Ensure that you assign the right value to the corresponding property; for example:

      "GatewayId" : "igw-123456",
-or-
      "InstanceId" : "i-123456",
-or-
      "VpcPeeringConnectionId" : "pcx-123456",
-or-
      "NetworkInterfaceId" : "eni-123456",

AWS CloudFormation, stack, create, route, stabilize, expected time, CREATE_COMPLETE, AWS::EC2::Route


Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center.