"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. "
I am able to create SNS topic with sns_topic module. But How can I link it with the autoscaling group ?..Because in the auto scaling group we can clearly create the auto scaling policy and metric alarms and we can see on AWS console with ec2_metric_alarm or ec2_scaling_policy module…I have to create it manually on autoscaling group console for already available SNS ARN or is there any module in ansible which supports any parameter so that i can directly create SNS notifications in the autoscaling group ?
Here is the thing, I did the same…It can create the autoscaling group. But the “notification” tab in the autoscaling group remains empty. Although I can see it in the Cloudwatch.
Why I cannot see it in the AWS autoscaling ? Is it something to do with the ec2_asg ?