cloudtools / troposphere

troposphere - Python library to create AWS CloudFormation descriptions
BSD 2-Clause "Simplified" License
4.93k stars 1.45k forks source link

CoreNetworkArn missing from Route validation code #2224

Closed mcgartyd closed 7 months ago

mcgartyd commented 7 months ago

CoreNetworkArn is missing from the validate_route function for Class Route in validators/ec2.py. As a consequence, attempts to create a route with a Core Network endpoint as a target fail validation with a value error:

ValueError: Route: one of the following must be specified: CarrierGatewayId, EgressOnlyInternetGatewayId, GatewayId, InstanceId, LocalGatewayId, NatGatewayId, NetworkInterfaceId, TransitGatewayId, VpcEndpointId, VpcPeeringConnectionId

markpeek commented 7 months ago

Thanks. Fixed via 459609a

mcgartyd commented 7 months ago

Speedy. Thanks!