diff --git a/library/cloud/ec2_vpc b/library/cloud/ec2_vpc index 9b9fb95a0b2..74880bdb2a3 100644 --- a/library/cloud/ec2_vpc +++ b/library/cloud/ec2_vpc @@ -491,13 +491,13 @@ def main(): argument_spec.update(dict( cidr_block = dict(), instance_tenancy = dict(choices=['default', 'dedicated'], default='default'), - wait = dict(choices=BOOLEANS, default=False), + wait = dict(type='bool', default=False), wait_timeout = dict(default=300), - dns_support = dict(choices=BOOLEANS, default=True), - dns_hostnames = dict(choices=BOOLEANS, default=True), + dns_support = dict(type='bool', default=True), + dns_hostnames = dict(type='bool', default=True), subnets = dict(type='list'), vpc_id = dict(), - internet_gateway = dict(choices=BOOLEANS, default=False), + internet_gateway = dict(type='bool', default=False), route_tables = dict(type='list'), state = dict(choices=['present', 'absent'], default='present'), )