# altering existing security group

**URL:** <https://forum.ansible.com/t/altering-existing-security-group/17566>\
**Category:** Ansible Project\
**Created:** [February 19, 2015, 11:29am UTC](https://forum.ansible.com/t/altering-existing-security-group/17566 "2015-02-19T11:29:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pawel.kaminski](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@pawel.kaminski](https://forum.ansible.com/u/pawel.kaminski)\
**Post date:** [February 19, 2015, 11:29am UTC](https://forum.ansible.com/t/altering-existing-security-group/17566/1 "2015-02-19T11:29:47Z")

</div>

hi,  
I am creating sec group (lets call it A\_SEC) using ec2\_group and this works fine. I need (later) to change existing sec group (B\_SEC) and add rules to grant access to whatever is using A\_SEC.

I cannot do this using ec2\_group as it complains about missing description. can anybody guide me how to do this. or maybe I should write my own module. are there any plans for ec2\_group\_roles?

thanks
