# ec2 module alarm creation

**URL:** <https://forum.ansible.com/t/ec2-module-alarm-creation/14765>\
**Category:** Ansible Project\
**Created:** [March 13, 2014, 3:24pm UTC](https://forum.ansible.com/t/ec2-module-alarm-creation/14765 "2014-03-13T15:24:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernat\_Rafales](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@Bernat\_Rafales](https://forum.ansible.com/u/Bernat_Rafales)\
**Post date:** [March 13, 2014, 3:24pm UTC](https://forum.ansible.com/t/ec2-module-alarm-creation/14765/1 "2014-03-13T15:24:47Z")

</div>

Hi guys,

I’ve been spending some days tweaking some ansible playbooks to create ec2 instances using the ec2 module. I was wondering if the current module allows creation of alarms and if not if it’s on the development plan for the future? I see there are other ec2 modules (quite useful) for things like cloudformation, elastic ips, etc, but nothing specific for creating alarms.

Before ansible we used the fog gem which allows creation of alarms. The ec2 module uses the python boto library which is ready for that as well, so it may be a nice addition (even considering developing the feature myself).

Cheers

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [March 13, 2014, 3:39pm UTC](https://forum.ansible.com/t/ec2-module-alarm-creation/14765/2 "2014-03-13T15:39:16Z")

</div>

There’s no specific plan for adding this, but we’re always open to pull requests for upgrades.

Not sure if this is best left to the cloudformation module or whether another module is warranted, but open to thoughts here for sure.

---

<div class="post-metadata">

**Author:** ![Sankalp\_Khare](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sankalp\_Khare](https://forum.ansible.com/u/Sankalp_Khare)\
**Post date:** [August 8, 2014, 12:38pm UTC](https://forum.ansible.com/t/ec2-module-alarm-creation/14765/3 "2014-08-08T12:38:25Z")

</div>

Doesn’t the ec2\_metric\_alarm module do this already? Or was this post from a time before that module was added…

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [August 8, 2014, 11:23pm UTC](https://forum.ansible.com/t/ec2-module-alarm-creation/14765/4 "2014-08-08T23:23:51Z")

</div>

ec2\_metric\_alarm was added more recently, yes.
