"Hi, I have not got the error message though. But when I tried once more, I am able to get the notification on my E-mail as I have set up the autoscaling policy such as CPUUtilization metric. But the thing is, I cannot create notification with ansible script on autoscaling group. I have to create it manually. That's not what I am looking for. "
You are able to create notifications/topcis with this module http://docs.ansible.com/ansible/sns_topic_module.html Keep things on the list, I'm sure everyone wants to know the solution to your problem. On 28 January 2016 at 16:12, Stephen Granger <[email protected]> wrote: > Do you have an error message from the cli? > > Does the action not get associated with the alarm? Is there an association > in the AWS console? > > Can you manually associate the action with the sns topic in the AWS > console? > > On 28 January 2016 at 13:49, Bhotu <[email protected]> wrote: > >> I have been using the following line in "alarm_actions" in >> "ec2_metric_alarm" module: >> >> local_action: >> module: ec2_metric_alarm >> ..... >> ..... >> ..... >> alarm_actions: "arn:aws:sns:us-east-1:465404482164:Polnotify" >> >> >> I did created this with "sns_topic". But I am not able to link it with >> the ec2_metric_alarm module. How could I solve the issue ? >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/647db18b-4fb6-4542-806f-52f1439721ff%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/647db18b-4fb6-4542-806f-52f1439721ff%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Steve > -- Steve -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BemtqtFnbzHfvrLiUe0hMVwVY0XCdex%2BifCQFweA9dY3BRApA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
