Harden read-only provider with tests, docs, and CI

This commit is contained in:
beatz174-bit
2026-04-21 14:39:36 +10:00
parent cf47a6ed48
commit 6cc1b206dc
24 changed files with 711 additions and 246 deletions
+39
View File
@@ -0,0 +1,39 @@
---
page_title: "dynu_dns_records Data Source"
description: |-
Lists DNS records for the Dynu root domain resolved from a hostname.
---
# dynu_dns_records Data Source
## Example Usage
```terraform
data "dynu_dns_records" "records" {
hostname = "www.example.com"
}
```
## Schema
### Required
- `hostname` (String) Fully-qualified hostname.
### Read-Only
- `domain_id` (Number)
- `domain_name` (String)
- `records` (List of Object)
- `id` (Number)
- `domain_id` (Number)
- `domain_name` (String)
- `node_name` (String)
- `hostname` (String)
- `record_type` (String)
- `ttl` (Number)
- `state` (Boolean)
- `content` (String)
- `updated_on` (String)
- `group` (String)
- `host` (String)