From 88333580dc66a5d2f6f224bdeae0564a59da035a Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 18 Feb 2020 10:30:57 -0800 Subject: [PATCH] Terraform Data Source to get DNSKEY records of DNSSEC-signed managed zones (#3117) (#159) * DNSSEC Keys * update schema * Define as a data source * add into data sources map * remove unused import * add tests * No fill dns keys of zone is not dnssec enabled * add docs * add ds record to ksk * fix string templating * improve doc description * improve ds record generation * Update third_party/terraform/website/docs/d/datasource_dns_key.html.markdown Co-Authored-By: Sam Levenick * rename data source in plural * rename file, add comment on maps * rename doc file Co-authored-by: Sam Levenick Signed-off-by: Modular Magician Co-authored-by: Sam Levenick --- plugins/modules/gcp_dns_managed_zone.py | 4 ++-- plugins/modules/gcp_dns_managed_zone_info.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/modules/gcp_dns_managed_zone.py b/plugins/modules/gcp_dns_managed_zone.py index 4f3b8c4..3181d62 100644 --- a/plugins/modules/gcp_dns_managed_zone.py +++ b/plugins/modules/gcp_dns_managed_zone.py @@ -112,7 +112,7 @@ options: key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set - and will be used to sign all other types of resource record sets. . + and will be used to sign all other types of resource record sets. - 'Some valid choices include: "keySigning", "zoneSigning"' required: false type: str @@ -294,7 +294,7 @@ dnssecConfig: (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will - be used to sign all other types of resource record sets. . + be used to sign all other types of resource record sets. returned: success type: str kind: diff --git a/plugins/modules/gcp_dns_managed_zone_info.py b/plugins/modules/gcp_dns_managed_zone_info.py index 09571a5..a3fb09d 100644 --- a/plugins/modules/gcp_dns_managed_zone_info.py +++ b/plugins/modules/gcp_dns_managed_zone_info.py @@ -167,7 +167,6 @@ resources: when active, will only be used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and will be used to sign all other types of resource record sets. - . returned: success type: str kind: