Reputation: 1
AWS CloudFormation: I have an existing VPC with public subnet and it has a an associated Route Table already.
I have written a CloudFormation template for attaching VPN gateway route propagation to public route table.
The issue is how to reference public route table from VPC id?
Adding following in parameters is not populating any route table to select:
PubRoute:
Type: AWS::EC2::RouteTable::id
Description: PublicRoute table Id for Public Subnet
Also, I did get any code to refer back from VPC id to Route Table.
Upvotes: 0
Views: 757
Reputation: 269550
Parameters - AWS CloudFormation does not list RouteTable
as an allowable type for parameters.
Therefore, you will need to define it as Type: String
and the user must provide the Route Table ID rather than selecting it from a list.
Upvotes: 1