mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix: route53_facts hosted_zone_id boto error
Boto is expecting parameter called "Id", not "HostedZoneId". See http://boto3.readthedocs.org/en/latest/reference/services/route53.html#Route53.Client.get_hosted_zone Fixes ansible/ansible-modules-extras/#1465
This commit is contained in:
parent
699a570f8b
commit
9bba1b66c5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue