mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
[ec2_vpc_subnet_facts] Add subnet_id alias for subnet_ids options (#32023)
This commit is contained in:
committed by
Will Thames
parent
61554143d0
commit
3e0f67786f
@@ -34,6 +34,7 @@ options:
|
|||||||
description:
|
description:
|
||||||
- A list of subnet IDs to gather facts for.
|
- A list of subnet IDs to gather facts for.
|
||||||
version_added: "2.5"
|
version_added: "2.5"
|
||||||
|
aliases: [subnet_id]
|
||||||
filters:
|
filters:
|
||||||
description:
|
description:
|
||||||
- A dict of filters to apply. Each dict item consists of a filter key and a filter value.
|
- A dict of filters to apply. Each dict item consists of a filter key and a filter value.
|
||||||
@@ -223,7 +224,7 @@ def describe_subnets(connection, module):
|
|||||||
def main():
|
def main():
|
||||||
argument_spec = ec2_argument_spec()
|
argument_spec = ec2_argument_spec()
|
||||||
argument_spec.update(dict(
|
argument_spec.update(dict(
|
||||||
subnet_ids=dict(type='list', default=[]),
|
subnet_ids=dict(type='list', default=[], aliases=['subnet_id']),
|
||||||
filters=dict(type='dict', default={})
|
filters=dict(type='dict', default={})
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user