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

Fix #8666 for real

Commit 311ec543af ("If not specified, do not modify subnet/route_tables for ec2 VPCs") mostly fixed the problem, except that it left defaults for subnets and route_tables so that not specifying them still deleted them.
This commit is contained in:
Mike Dixon 2014-09-02 19:16:39 -07:00
parent 893f15b30b
commit 4510f2e5a1

View file

@ -575,11 +575,11 @@ def main():
wait_timeout = dict(default=300), wait_timeout = dict(default=300),
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),
subnets = dict(type='list', default=[]), subnets = dict(type='list'),
vpc_id = dict(), vpc_id = dict(),
internet_gateway = dict(type='bool', default=False), internet_gateway = dict(type='bool', default=False),
resource_tags = dict(type='dict', required=True), resource_tags = dict(type='dict', required=True),
route_tables = dict(type='list', default=[]), route_tables = dict(type='list'),
state = dict(choices=['present', 'absent'], default='present'), state = dict(choices=['present', 'absent'], default='present'),
) )
) )