From b1609e83fad75d9e3fa6676a1e33e86d3eb4a7b2 Mon Sep 17 00:00:00 2001 From: The Magician Date: Wed, 29 May 2019 15:38:26 -0700 Subject: [PATCH] fix dnssec test (#267) Signed-off-by: Modular Magician --- plugins/modules/gcp_dns_managed_zone.py | 10 ++++++---- plugins/modules/gcp_dns_managed_zone_facts.py | 5 +++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/plugins/modules/gcp_dns_managed_zone.py b/plugins/modules/gcp_dns_managed_zone.py index e75e79d..91b0d15 100644 --- a/plugins/modules/gcp_dns_managed_zone.py +++ b/plugins/modules/gcp_dns_managed_zone.py @@ -71,7 +71,7 @@ options: non_existence: description: - Specifies the mechanism used to provide authenticated denial-of-existence - responses. Output only while state is not OFF. . + responses. - 'Some valid choices include: "nsec", "nsec3"' required: false state: @@ -82,7 +82,8 @@ options: default_key_specs: description: - Specifies parameters that will be used for generating initial DnsKeys for - this ManagedZone. Output only while state is not OFF . + this ManagedZone. If you provide a spec for keySigning or zoneSigning, you + must also provide one for the other. required: false suboptions: algorithm: @@ -196,7 +197,7 @@ dnssecConfig: nonExistence: description: - Specifies the mechanism used to provide authenticated denial-of-existence - responses. Output only while state is not OFF. . + responses. returned: success type: str state: @@ -207,7 +208,8 @@ dnssecConfig: defaultKeySpecs: description: - Specifies parameters that will be used for generating initial DnsKeys for - this ManagedZone. Output only while state is not OFF . + this ManagedZone. If you provide a spec for keySigning or zoneSigning, you + must also provide one for the other. returned: success type: complex contains: diff --git a/plugins/modules/gcp_dns_managed_zone_facts.py b/plugins/modules/gcp_dns_managed_zone_facts.py index 1952058..7d78a4e 100644 --- a/plugins/modules/gcp_dns_managed_zone_facts.py +++ b/plugins/modules/gcp_dns_managed_zone_facts.py @@ -87,7 +87,7 @@ resources: nonExistence: description: - Specifies the mechanism used to provide authenticated denial-of-existence - responses. Output only while state is not OFF. . + responses. returned: success type: str state: @@ -98,7 +98,8 @@ resources: defaultKeySpecs: description: - Specifies parameters that will be used for generating initial DnsKeys - for this ManagedZone. Output only while state is not OFF . + for this ManagedZone. If you provide a spec for keySigning or zoneSigning, + you must also provide one for the other. returned: success type: complex contains: