Having troubles trying to setup the route tables in a VPC with a NAT gateway as the target.
`
- name: Create Private B route tables
ec2_vpc_route_table:
vpc_id: ‘{{ vpc_id }}’
region: ‘{{ vpc_region }}’
subnets: - ‘{{ vpc_subnet_private_b }}’
routes: - dest: 0.0.0.0/0
instance_id: ‘nat-0f0e9840ce4984705’
resource_tags: { “Name”:‘Private B’ }
register: vpc_private_b_route_table
`
The route table is created, but only has the default local route and not the one I am trying to create to the NAT gateway. Any ideas on what is going on or what I am doing wrong greatly appreciated!