GoogleCloudPlatform / terraform-validator

Terraform Validator is not an officially supported Google product; it is a library for conversion of Terraform plan data to CAI Assets. If you have been using terraform-validator directly in the past, we recommend migrating to `gcloud beta terraform vet`.
https://cloud.google.com/docs/terraform/policy-validation
Apache License 2.0
437 stars 93 forks source link

Fix certificate_manager_dns_authorization examples to use sweepable names #1482

Closed modular-magician closed 1 year ago

modular-magician commented 1 year ago

fixes https://github.com/hashicorp/terraform-provider-google/issues/14066

I've already deleted the leftover resources causing the issue, so this change just attempts to make these resources sweepable. Note that these particular resource need to be deleted in order, so it remains to be seen how this actually behaves in sweeper runs, but this is at least a step in the right direction.

If this PR is for Terraform, I acknowledge that I have:

Release Note Template for Downstream PRs (will be copied)

Derived from https://github.com/GoogleCloudPlatform/magic-modules/pull/7510