# ec2\_lc module does not support VPC?

**URL:** <https://forum.ansible.com/t/ec2-lc-module-does-not-support-vpc/16096>\
**Category:** Ansible Project\
**Created:** [September 2, 2014, 9:53am UTC](https://forum.ansible.com/t/ec2-lc-module-does-not-support-vpc/16096 "2014-09-02T09:53:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roman\_Revyakin](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@Roman\_Revyakin](https://forum.ansible.com/u/Roman_Revyakin)\
**Post date:** [September 2, 2014, 9:53am UTC](https://forum.ansible.com/t/ec2-lc-module-does-not-support-vpc/16096/1 "2014-09-02T09:53:33Z")

</div>

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:

Sender `ValidationError` The security group 'xxxxxxx' does not exist in default VPC 'vpc-xxxxxx' ....

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

---

<div class="post-metadata">

**Author:** ![Roman\_Revyakin](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@Roman\_Revyakin](https://forum.ansible.com/u/Roman_Revyakin)\
**Post date:** [September 2, 2014, 10:55am UTC](https://forum.ansible.com/t/ec2-lc-module-does-not-support-vpc/16096/2 "2014-09-02T10:55:58Z")

</div>

Ok, I think I found the problem - I supplied the name of the security group instead of its id.
