Skip to content

SimplySeth/ec2_availability_zones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ec2_availability_zones

Ansible module to get availability zones

Requirements:

  • Ansible
  • Boto3

Usage:

- hosts: localhost
  connection: local
  tasks:
    - ec2_availability_zones:
        region: 'us-west-2'

or

- hosts: localhost
  connection: local
  tasks:
    - ec2_availability_zones:
        aws_access_key: "{{ aws_access_key }}"
        aws_secret_key: "{{ aws_secret_key }}"
        region: 'us-west-2'
        state: available

About

Ansible module to get availability zones

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages