Skip to content

Commit

Permalink
ec2 module: add instance_id alias
Browse files Browse the repository at this point in the history
Create an alias named instance_id for the instance_ids parameter.
  • Loading branch information
Lorin Hochstein committed Mar 28, 2015
1 parent 1c5cef0 commit e759b4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud/amazon/ec2.py
Expand Up @@ -179,7 +179,7 @@
- "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:
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit e759b4d

Please sign in to comment.