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.
reviewable/pr18780/r1
Mike Dixon 10 years ago
parent fb42dfac59
commit 024eb4d54b

@ -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'),
) )
) )

Loading…
Cancel
Save