Hi,
I want to have a counter (incrementation) in “with_items” in order to look over a list (index).
ec2_metric_alarm:
…
description: ‘{{ item.ec2_alarm_description }}’
dimensions: ‘{{item.ec2_alarm_dimensions }}’
alarm_actions: ‘{{ ec2_scaling_policy_reg.results[0].arn }}’
with_items: ‘{{ ec2_metric_alarm_item }}’
Any suggestion?
thanks