# ec2\_vpc\_route\_table module

**URL:** <https://forum.ansible.com/t/ec2-vpc-route-table-module/20432>\
**Category:** Ansible Project\
**Tags:** ubuntu, aws\
**Created:** [February 3, 2016, 4:13am UTC](https://forum.ansible.com/t/ec2-vpc-route-table-module/20432 "2016-02-03T04:13:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_Del\_Pino](https://avatars.discourse-cdn.com/v4/letter/c/e9a140/32.png) [@Christian\_Del\_Pino](https://forum.ansible.com/u/Christian_Del_Pino)\
**Post date:** [February 3, 2016, 4:13am UTC](https://forum.ansible.com/t/ec2-vpc-route-table-module/20432/1 "2016-02-03T04:13:11Z")

</div>

Hello there. Currently using ansible 2.0.0.2-1ppa~vivid on ubuntu and I am having issues using one of the aws modules. Getting the following when trying to use the ec2\_vpc\_route\_table module: _‘ERROR: ec2\_vpc\_route\_table is not a legal parameter in an Ansible task or handler’_. does this mean the this extra module is not installed?

---

<div class="post-metadata">

**Author:** ![Christian\_Del\_Pino](https://avatars.discourse-cdn.com/v4/letter/c/e9a140/32.png) [@Christian\_Del\_Pino](https://forum.ansible.com/u/Christian_Del_Pino)\
**Post date:** [February 3, 2016, 3:49pm UTC](https://forum.ansible.com/t/ec2-vpc-route-table-module/20432/2 "2016-02-03T15:49:40Z")

</div>

Example I currently have in place:

- name: Set up Internal Subnet route table  
ec2\_vpc\_route\_table:  
vpc\_id: “{{ vpc.vpc\_id }}”  
region: “{{ aws\_region }}”  
subnets:
- “{{ subnet\_internal }}”  
routes:
- dest: 0.0.0.0/0  
instance\_id: “{{ nat.instance[0]id }}”  
when: nat|changed  
tags:
- vpcsetup

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [February 3, 2016, 6:31pm UTC](https://forum.ansible.com/t/ec2-vpc-route-table-module/20432/3 "2016-02-03T18:31:59Z")

</div>

Can you please remove this and install via pip.

I have install the ansible 2 via pip and this module worked for me.

Step on ubuntu:

# sudo apt-get install python-pip

# sudo pip install ansible

---

<div class="post-metadata">

**Author:** ![Christian\_Del\_Pino](https://avatars.discourse-cdn.com/v4/letter/c/e9a140/32.png) [@Christian\_Del\_Pino](https://forum.ansible.com/u/Christian_Del_Pino)\
**Post date:** [February 9, 2016, 3:12pm UTC](https://forum.ansible.com/t/ec2-vpc-route-table-module/20432/4 "2016-02-09T15:12:19Z")

</div>

That worked. Thanks!
