amazon.aws icon indicating copy to clipboard operation
amazon.aws copied to clipboard

ec2_metric_alarm "Datapoints To Alarm" flag missing

Open LeoSpyke opened this issue 4 years ago • 6 comments

SUMMARY

Hi everybody, I'm building an automation procedure which adds alarms to my newly created EC2 instances. There is one important alarm I need, the StatusCheckFailed_System, whose behaviour and triggering conditions I would like to be customizable for my needings.

So, the problem is that as the version 2.9.11 of Ansible that I'm currently using, i cannot find the flag that allows me to set the datapoints to alarm (the aws cli equivalent flag is, obviously, --datapoints-to-alarm).

What am I doing wrong? Can anyone kindly help me?

Cheers!

ISSUE TYPE
  • Bug Report
COMPONENT NAME

ec2_metric_alarm

ANSIBLE VERSION

2.9.11

CONFIGURATION
OS / ENVIRONMENT

Ansible AWX 14.1.0 installed on Docker

STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS

LeoSpyke avatar Nov 03 '20 16:11 LeoSpyke

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot avatar Nov 16 '20 18:11 ansibullbot

cc @Zeekin @jillr @s-hertel @tremble @wimnat click here for bot help

ansibullbot avatar Nov 16 '20 18:11 ansibullbot

Hi @LeoSpyke96, would you like to raise a PR for this feature? Thanks.

alinabuzachis avatar Dec 16 '20 14:12 alinabuzachis

Files identified in the description:

  • [plugins/modules/ec2_metadata_facts.py](https://github.com/['ansible-collections/amazon.aws', 'ansible-collections/community.aws', 'ansible-collections/community.vmware']/blob/main/plugins/modules/ec2_metadata_facts.py)

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot avatar Sep 28 '22 11:09 ansibullbot

cc @roadmapper @silviud click here for bot help

ansibullbot avatar Sep 28 '22 11:09 ansibullbot

Any updates on this?

LeoSpyke avatar Jan 15 '24 14:01 LeoSpyke