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:
commit
61bb39be71
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue