ec2_lc module does not support VPC?

266 views
Skip to first unread message

Roman Revyakin

unread,
Sep 2, 2014, 5:53:33 AM9/2/14
to ansible...@googlegroups.com
Hi guys,

It appears that ec2_lc module does not really support creation of launch configurations in VPC? When I provide the name of the security group from a VPC through `security_groups:` option to `ec2_lc` module, I get this error:

  <Error>
    <Type>Sender</Type>
    <Code>ValidationError</Code>
    <Message>The security group 'xxxxxxx' does not exist in default VPC 'vpc-xxxxxx'</Message>
  </Error>
  <RequestId>....</RequestId>
</ErrorResponse>

I tried it both with the 1.7 and the most recent version of Ansible:

ansible-playbook 1.8 (devel a0635ebb0d) last updated 2014/09/02 19:45:51

Thanks!

With kind regards,
Roman

Roman Revyakin

unread,
Sep 2, 2014, 6:55:58 AM9/2/14
to ansible...@googlegroups.com
Ok, I think I found the problem - I supplied the name of the security group instead of its id. 
Reply all
Reply to author
Forward
0 new messages