Skip to content
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

Revert google_dns_record_set to previous implementation #3625

Conversation

modular-magician
Copy link
Collaborator

Fixes hashicorp/terraform-provider-google#9257
Fixes hashicorp/terraform-provider-google#9112
Fixes hashicorp/terraform-provider-google#9416

This PR reverts the resource to the original handwritten version that uses the DNS client library from the MM-generated version that used the new API.

Deviations from the old handwritten version include:

  • More tests
  • ttl was made optional in the previous iteration, I am keeping it optional for backwards-compatibility
  • reset the resource ID after updating. The type field can be updated which is a part of the ID. This allows one of the newer tests to import correctly

Release Note Template for Downstream PRs (will be copied)

dns: fixed an issue in `google_dns_record_set` where creating the resource would result in an 409 error
dns: fixed an issue in `google_dns_record_set` where `rrdatas` could not be updated

Derived from GoogleCloudPlatform/magic-modules#5191

…5191)

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 534738c into hashicorp:master Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant