Merge pull request #1466 from stepanstipl/fix-route53_facts_hosted_zone_id

Fix: route53_facts hosted_zone_id boto error
reviewable/pr18780/r1
Brian Coca 9 years ago
commit 61bb39be71

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

Loading…
Cancel
Save