Merge pull request #1466 from stepanstipl/fix-route53_facts_hosted_zone_id

Fix: route53_facts hosted_zone_id boto error
This commit is contained in:
Brian Coca 2016-01-12 10:54:17 -05:00
commit 61bb39be71

View file

@ -177,7 +177,7 @@ def get_hosted_zone(client, module):
params = dict() params = dict()
if module.params.get('hosted_zone_id'): if module.params.get('hosted_zone_id'):
params['HostedZoneId'] = module.params.get('hosted_zone_id') params['Id'] = module.params.get('hosted_zone_id')
else: else:
module.fail_json(msg="Hosted Zone Id is required") module.fail_json(msg="Hosted Zone Id is required")