summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py
diff options
context:
space:
mode:
authorwhiter <rob.white@truelocal.com.au>2015-07-17 15:54:17 +1000
committerMatt Clay <matt@mystile.com>2016-12-08 11:23:22 -0500
commit2dc689894c4182419a85d4be40f0d1f1c9c88c18 (patch)
tree3f238191845a142b2ae1c876de307ccc32866986 /lib/ansible/modules/cloud/amazon/ec2_vpc_net.py
parenta0b0c022b841c872bdc776384de0a596f34213a9 (diff)
downloadansible-2dc689894c4182419a85d4be40f0d1f1c9c88c18.tar.gz
Added 'resource_tags' alias
Diffstat (limited to 'lib/ansible/modules/cloud/amazon/ec2_vpc_net.py')
-rw-r--r--lib/ansible/modules/cloud/amazon/ec2_vpc_net.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py
index ebdd4ed650..2ee730f59c 100644
--- a/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py
+++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_net.py
@@ -59,6 +59,7 @@ options:
- The tags you want attached to the VPC. This is independent of the name value, note if you pass a 'Name' key it would override the Name of the VPC if it's different.
default: None
required: false
+ aliases: [ 'resource_tags' ]
state:
description:
- The state of the VPC. Either absent or present.
@@ -186,7 +187,7 @@ def main():
dns_support = dict(type='bool', default=True),
dns_hostnames = dict(type='bool', default=True),
dhcp_opts_id = dict(type='str', default=None, required=False),
- tags = dict(type='dict', required=False, default=None),
+ tags = dict(type='dict', required=False, default=None, aliases=['resource_tags']),
state = dict(choices=['present', 'absent'], default='present'),
multi_ok = dict(type='bool', default=False)
)