# Adding Route Table Entries for NAT GW

**URL:** <https://forum.ansible.com/t/adding-route-table-entries-for-nat-gw/24854>\
**Category:** Ansible Project\
**Created:** [June 29, 2017, 7:48pm UTC](https://forum.ansible.com/t/adding-route-table-entries-for-nat-gw/24854 "2017-06-29T19:48:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Isaac\_Christoffersen](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@Isaac\_Christoffersen](https://forum.ansible.com/u/Isaac_Christoffersen)\
**Post date:** [June 29, 2017, 7:48pm UTC](https://forum.ansible.com/t/adding-route-table-entries-for-nat-gw/24854/1 "2017-06-29T19:48:51Z")

</div>

I’m trying to create a new Route Table that has an entry for the NAT Gateway, but the entry doesn’t seem to work. I’m basically following the example in the documentation, but while the Route table is created, there is no entry for the instance\_id for the NAT GW.

My playbook is here: [https://gist.github.com/ichristo/85017eb6d49801203ab4ca7ad25d7eff](https://gist.github.com/ichristo/85017eb6d49801203ab4ca7ad25d7eff)

---

<div class="post-metadata">

**Author:** ![Isaac\_Christoffersen](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@Isaac\_Christoffersen](https://forum.ansible.com/u/Isaac_Christoffersen)\
**Post date:** [June 29, 2017, 8:48pm UTC](https://forum.ansible.com/t/adding-route-table-entries-for-nat-gw/24854/2 "2017-06-29T20:48:49Z")

</div>

I figured out my issue. I was using instance\_id when I should have been using gateway\_id.
