1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

ec2 module: add instance_id alias

Create an alias named instance_id for the instance_ids parameter.
This commit is contained in:
Lorin Hochstein 2014-11-16 13:48:39 -05:00 committed by Matt Clay
parent 268763995c
commit 17e6be671b

View file

@ -179,7 +179,7 @@ options:
- "list of instance ids, currently used for states: absent, running, stopped"
required: false
default: null
aliases: []
aliases: ['instance_id']
source_dest_check:
version_added: "1.6"
description:
@ -1183,7 +1183,7 @@ def main():
assign_public_ip = dict(type='bool', default=False),
private_ip = dict(),
instance_profile_name = dict(),
instance_ids = dict(type='list'),
instance_ids = dict(type='list', alias='instance_id'),
source_dest_check = dict(type='bool', default=True),
state = dict(default='present'),
exact_count = dict(type='int', default=None),