Creating CloudWatch Alarm metrics using ansible
问题 I have a inventory file which looks like : [database] syd01-dev-shared.ce4l5of4bl3z.ap-southeast-2.rds.amazonaws.com I need to configure 3 cloudwatch metrics for the above RDS endpoint, by reading the inventory. The DBInstanceIdentifier is actually syd01-dev-shared only, how can i actually pick this part and feed it to something like below?? - name: Create CPU utilization metric alarm sudo: false local_action: ec2_metric_alarm state=present region={{region}} name="HOW_TO_READ