#931 append dot to zone if not defined

This commit is contained in:
Siert Zijl 2015-09-11 20:14:59 +02:00 committed by Matt Clay
parent cb88c17856
commit 47cfb2c734

View file

@ -82,6 +82,9 @@ def main():
vpc_region = module.params.get('vpc_region') vpc_region = module.params.get('vpc_region')
comment = module.params.get('comment') comment = module.params.get('comment')
if zone_in[-1:] != '.':
zone_in += "."
private_zone = vpc_id is not None and vpc_region is not None private_zone = vpc_id is not None and vpc_region is not None
_, _, aws_connect_kwargs = get_aws_connection_info(module) _, _, aws_connect_kwargs = get_aws_connection_info(module)