Skip to content

Commit

Permalink
Update aws_az_info.py (#1795)
Browse files Browse the repository at this point in the history
aws_az_info - add example of filtering by state

SUMMARY
You can filter availability zones based on their state, such as "available," "unavailable," or "modifying."
ISSUE TYPE


Docs Pull Request

COMPONENT NAME
amazon.aws.aws_az_info:

Reviewed-by: Mark Chappell
  • Loading branch information
Aditya Putta authored Oct 12, 2023
1 parent b84ffc7 commit d7fae9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/modules/aws_az_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
amazon.aws.aws_az_info:
filters:
zone-name: eu-west-1a
- name: Gather information in a availability zones based on their state, such as "available"
amazon.aws.aws_az_info:
region: us-east-1
filters:
state: available
"""

RETURN = r"""
Expand Down

0 comments on commit d7fae9d

Please sign in to comment.