diff --git a/plugins/modules/route53_info.py b/plugins/modules/route53_info.py index bd413e2ac65..7622113c25e 100644 --- a/plugins/modules/route53_info.py +++ b/plugins/modules/route53_info.py @@ -221,6 +221,7 @@ def _paginated_result(paginator_name, **params): paginator = client.get_paginator(paginator_name) return paginator.paginate(**params).build_full_result() + def get_hosted_zone(): params = dict() diff --git a/plugins/modules/route53_zone.py b/plugins/modules/route53_zone.py index 79f457a1e5a..ba51fcbb9e2 100644 --- a/plugins/modules/route53_zone.py +++ b/plugins/modules/route53_zone.py @@ -164,6 +164,7 @@ def _list_zones(): paginator = client.get_paginator('list_hosted_zones') return paginator.paginate().build_full_result() + def find_zones(zone_in, private_zone): try: results = _list_zones()