# Not able to use ec2\_vpc\_endpoint module

**URL:** <https://forum.ansible.com/t/not-able-to-use-ec2-vpc-endpoint-module/24938>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [July 10, 2017, 10:35am UTC](https://forum.ansible.com/t/not-able-to-use-ec2-vpc-endpoint-module/24938 "2017-07-10T10:35:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuvam\_jha](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@shuvam\_jha](https://forum.ansible.com/u/shuvam_jha)\
**Post date:** [July 10, 2017, 10:35am UTC](https://forum.ansible.com/t/not-able-to-use-ec2-vpc-endpoint-module/24938/1 "2017-07-10T10:35:27Z")

</div>

Hi ,  
I am using ansible 2.3.1.0 , python version = 2.7.5 . When i am trying to use ec2\_vpc\_endpoint module it is giving error , but i am able to run other ec2 or aws modules . I have checked the list of module by running ansible-doc -l , ec2\_vpc\_endpoint was not there . How to include that , i have updated the ansible .

Error :

ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

```auto
The error appears to have been in '/home/user/demoendpointtest.yml': line 4, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  tasks:
    - name: Ce new vpc endpoint
      ^ here

The error appears to have been in '/home/user/demoendpointtest.yml': line 4, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  tasks:
    - name: Ce new vpc endpoint
      ^ here

```

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [July 10, 2017, 6:14pm UTC](https://forum.ansible.com/t/not-able-to-use-ec2-vpc-endpoint-module/24938/2 "2017-07-10T18:14:24Z")

</div>

From the documentation  
[https://docs.ansible.com/ansible/ec2\_vpc\_endpoint\_module.html](https://docs.ansible.com/ansible/ec2_vpc_endpoint_module.html)

"New in version 2.4."

So it's coming in the next main version of Ansible.
