You can write a module or a simple filter that will give you the
availability zones in a region.
https://github.com/linuxdynasty/ld-ansible-filters/blob/master/filter_plugins/aws.py#L202
So you can do something like this
*zones: "{{ aws_region | zones() }}"*
On Mon, Aug 1, 2016 at 8:52 AM,
I'm not sure if I'm overlooking this or not, but is there a module from
Ansible that will describe the availability zones in my AWS region?
I typically use us-east-1 as my default region, which has 5 available
availability zones (A,B, C, D, E), out of which I can only use 4. I never
know