Implement godaddy_dns_records data source #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Summary
Implement
data_source_dns_records.goto read existing DNS records from GoDaddy.User Story
As a platform operator, I want to query existing DNS records via
tofu planso I can reference them without managing their lifecycle.Context
Companion to the DNS record resource. Enables read-only access to existing records for cross-referencing and validation.
Lineage
Parent: none
Story: dns-iac
Repo
godaddy-tofu
Scope
data_source_dns_records.goimplementingdatasource.DataSourceinterfacedomain(required),type(optional filter),name(optional filter)client.GetRecords(ctx, domain, type, name)recordslist with all DNSRecord fieldsprovider.goDataSources() mapFile Targets
data_source_dns_records.go(new)provider.go(register data source)Feature Flag
None
Test Expectations
tofu planwith data source block reads live recordsAcceptance Criteria
data "godaddy_dns_records" "existing" { domain = "..." }reads recordsConstraints
None beyond standard Plugin Framework patterns
Checklist
Related
Companion to DNS record resource