Merge pull request #339 from lorin/instance_id

ec2 module: add instance_id alias
This commit is contained in:
Brian Coca 2015-03-30 08:49:07 -04:00
commit 1865ddbbdf

View file

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