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!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2b9d2738-c278-4f31-b1e5-aed648b5d1cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to