-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform Data Source to get DNSKEY records of DNSSEC-signed managed zones #3117
Terraform Data Source to get DNSKEY records of DNSSEC-signed managed zones #3117
Conversation
Merge from upstream
Hello! I am a robot who works on Magic Modules PRs. I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. They will authorize it to run through our CI pipeline, which will generate downstream PRs. Thanks for your contribution! A human will be with you soon. @slevenick, please review this PR or find an appropriate assignee. |
Hello! I am a robot who works on Magic Modules PRs. I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. They will authorize it to run through our CI pipeline, which will generate downstream PRs. Thanks for your contribution! A human will be with you soon. @SirGitsalot, please review this PR or find an appropriate assignee. |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 347 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
1 similar comment
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 347 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 347 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
1 similar comment
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 347 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 364 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just a couple minor issues and I'll be able to merge this in
third_party/terraform/website/docs/d/datasource_dns_key.html.markdown
Outdated
Show resolved
Hide resolved
@@ -181,6 +181,7 @@ func Provider() terraform.ResourceProvider { | |||
"google_container_engine_versions": dataSourceGoogleContainerEngineVersions(), | |||
"google_container_registry_image": dataSourceGoogleContainerImage(), | |||
"google_container_registry_repository": dataSourceGoogleContainerRepo(), | |||
"google_dns_key": dataSourceDNSKey(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense for this resource to be named google_dns_keys
instead. It returns a collection of keys rather than an individual key
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it!
…arkdown Co-Authored-By: Sam Levenick <[email protected]>
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 364 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
…les into get-dnssec-key-pairs
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 381 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 385 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
1 similar comment
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 385 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 5 files changed, 385 insertions(+)) Inspec: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for the contribution!
…zones (GoogleCloudPlatform#3117) * 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 <[email protected]> * rename data source in plural * rename file, add comment on maps * rename doc file Co-authored-by: Sam Levenick <[email protected]>
Terraform Data Source to get DNSKEY records of DNSSEC-signed managed zones.
Fixes: hashicorp/terraform-provider-google#4802
Release Note Template for Downstream PRs (will be copied)