Archived
ci / test (push) Failing after 5m55s
- DYNU_API_KEY env var fallback in provider config - dynu_domain resource: add 9 computed attributes (unicode_name, ipv4/ipv6 flags, wildcard aliases, allow_zone_transfer, dnssec, created_on, updated_on) - dynu_dns_records data source: add 6 type-specific fields (priority, weight, port, flags, tag, value) - Fix normalizeRecordContentForState for MX/SRV/NS/PTR (read host field) and CAA (read value field) to avoid plan/state inconsistency - Allow underscore-prefixed DNS labels in hostname validator (RFC 2782 SRV) - Preserve plan/state hostname across create/update/read to prevent inconsistent result errors when API returns full FQDN for node_name-style records - Update all version references from 0.1.0 to 0.2.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LFZyrmtKsezBwFWGTWsb2y
35 lines
860 B
Markdown
35 lines
860 B
Markdown
---
|
|
page_title: "dynu Provider"
|
|
description: |-
|
|
Terraform provider for Dynu DNS domains and DNS records (full CRUD) plus lookup data sources.
|
|
---
|
|
|
|
# dynu Provider
|
|
|
|
The `dynu` provider manages Dynu root domains and DNS records, and supports lookup data sources for discovery workflows.
|
|
This provider repository is standalone and does not require any external companion repository or helper script.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
terraform {
|
|
required_providers {
|
|
dynu = {
|
|
source = "beatz174-bit/dynu"
|
|
version = "~> 0.2.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "dynu" {
|
|
api_key = var.dynu_api_key
|
|
}
|
|
```
|
|
|
|
## Schema
|
|
|
|
### Optional
|
|
|
|
- `api_key` (String, Sensitive) Dynu API key. Configure via provider argument (for example with `var.dynu_api_key` from `terraform.tfvars`).
|
|
- `base_url` (String) Override API base URL. Primarily intended for automated tests.
|