How do I resolve the "Route did not stabilize in expected time" error in AWS CloudFormation?

2 minute read

I tried to create an AWS CloudFormation stack, but the stack failed with the "Route did not stabilize in expected time" error.

Short description

You must specify one of the following targets for the route assigned to your route table in your Amazon Virtual Private Cloud (Amazon VPC):

  • Internet gateway or virtual private gateway
  • NAT instance
  • NAT gateway
  • VPC peering connection
  • Network interface
  • Egress-only internet gateway

If you set any property of your AWS::EC2::Route type to an incorrect value, then you receive the "Route did not stabilize in expected time" error.

For example, you receive the error if you incorrectly set the value of the NatGatewayId property to the GatewayId property as follows:

  "MyRoute": {
    "Type": "AWS::EC2::Route",
    "Properties": {
      "DestinationCidrBlock": "",
      "GatewayId": "nat-0a12bc456789de0fg",
      "RouteTableId": {
        "Ref": "MyRouteTable"


To resolve the error, assign the correct value to the corresponding property.

See the following examples:

"GatewayId": "igw-eaad4883"


"NatGatewayId": "nat-0a12bc456789de0fg"

For more information about your stack failure, see the AWS CloudTrail events that correspond to the failure.

AWS OFFICIALUpdated 2 months ago