Not able to use ec2_vpc_endpoint module

14 views
Skip to first unread message

shuvam jha

unread,
Jul 10, 2017, 11:46:55 AM7/10/17
to Ansible Project
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.
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

Kai Stian Olstad

unread,
Jul 10, 2017, 2:14:38 PM7/10/17
to ansible...@googlegroups.com
On 10. juli 2017 12:35, shuvam jha wrote:
> 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 .

From the documentation
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.

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages