hashicorp / terraform-provider-dns

Utility provider that supports DNS updates (RFC 2136) and can optionally be configured with secret key based transaction authentication (RFC 2845).
https://registry.terraform.io/providers/hashicorp/dns/latest
Mozilla Public License 2.0
113 stars 71 forks source link

Create permanent terraform.io TXT record for testing #112

Closed kmoe closed 3 years ago

kmoe commented 4 years ago

TestAccDataDnsTxtRecordSet_Basic does a real-world check of the TXT records for the terraform.io domain, as pointed out in #106. This causes the test to fail whenever these change.

Add a permanent TXT record for testing this functionality, or perhaps use another domain where we have full control over the TXT records.

kmoe commented 4 years ago

This is also true for the CNAME test, TestAccDataDnsCnameRecordSet_Basic. We probably want to consider dedicated infra for testing this provider.

bflad commented 3 years ago

The Terraform team does have hashicorptest.com available for use in CloudFlare and managed via Terraform (Cloud). Happy to pick this up so we can get consistent testing. 😄 If/when testing changes are made, I can also add some comments for future travelers about record management there.

github-actions[bot] commented 5 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.