Added 'resource_tags' alias

reviewable/pr18780/r1
whiter 9 years ago
parent ee782d822b
commit dc71c04827

@ -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. - 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 default: None
required: false required: false
aliases: [ 'resource_tags' ]
state: state:
description: description:
- The state of the VPC. Either absent or present. - The state of the VPC. Either absent or present.
@ -186,7 +187,7 @@ def main():
dns_support = dict(type='bool', default=True), dns_support = dict(type='bool', default=True),
dns_hostnames = dict(type='bool', default=True), dns_hostnames = dict(type='bool', default=True),
dhcp_opts_id = dict(type='str', default=None, required=False), 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'), state = dict(choices=['present', 'absent'], default='present'),
multi_ok = dict(type='bool', default=False) multi_ok = dict(type='bool', default=False)
) )

Loading…
Cancel
Save