How do I resolve the "Route did not stabilize in expected time" error in AWS CloudFormation?
"I tried to create an AWS CloudFormation stack, but the stack failed. Then, I received the following error message: "Route did not stabilize in expected time." How do I resolve this error?"
"I tried to create an AWS CloudFormation stack, but the stack failed. Then, I received the following error message: "Route did not stabilize in expected time." How do I resolve this error?Short descriptionYou 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 gatewayNAT instanceNAT gatewayVPC peering connectionNetwork interfaceEgress-only internet gatewayIf you set any property of your AWS::EC2::Route type (your target) to an incorrect value, then you receive the "Route did not stabilize in expected time" error.For example, you receive this error if you incorrectly set the value of the NatGatewayId property to the GatewayId property, as shown in the following code example:MyRoute ": {  "Type": "AWS::EC2::Route",  "Properties": {    "DestinationCidrBlock": "0.0.0.0/0",    "GatewayId": "nat-0a12bc456789de0fg",    "RouteTableId": {      "Ref": "MyRouteTable"    }  }}ResolutionAssign the correct value to the corresponding property. See the following examples:"GatewayId" : "igw-eaad4883"-or-"NatGatewayId" : "nat-0a12bc456789de0fg"For more information on a stack failure, check the AWS CloudTrail events that correspond to the failure.Follow"