From 074e2e2e28e60acf035933870c9dfd66234dbbb9 Mon Sep 17 00:00:00 2001 From: The Magician Date: Thu, 14 Mar 2019 11:26:31 -0700 Subject: [PATCH] Error in managed zone api (#213) /cc @rambleraptor --- plugins/modules/gcp_dns_managed_zone.py | 4 ++-- plugins/modules/gcp_dns_managed_zone_facts.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/modules/gcp_dns_managed_zone.py b/plugins/modules/gcp_dns_managed_zone.py index 71566ea..c6d29a0 100644 --- a/plugins/modules/gcp_dns_managed_zone.py +++ b/plugins/modules/gcp_dns_managed_zone.py @@ -126,7 +126,7 @@ nameServerSet: a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset. returned: success - type: list + type: str creationTime: description: - The time that this resource was created on the server. @@ -161,7 +161,7 @@ def main(): description=dict(required=True, type='str'), dns_name=dict(required=True, type='str'), name=dict(required=True, type='str'), - name_server_set=dict(type='list', elements='str'), + name_server_set=dict(type='str'), labels=dict(type='dict'), ) ) diff --git a/plugins/modules/gcp_dns_managed_zone_facts.py b/plugins/modules/gcp_dns_managed_zone_facts.py index 9a5f73a..e5a8152 100644 --- a/plugins/modules/gcp_dns_managed_zone_facts.py +++ b/plugins/modules/gcp_dns_managed_zone_facts.py @@ -96,7 +96,7 @@ items: is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset. returned: success - type: list + type: str creationTime: description: - The time that this resource was created on the server.