From 016cdb3914b12ab1acd28ac036e64cf48dc1c79e Mon Sep 17 00:00:00 2001 From: beatz174-bit Date: Thu, 23 Apr 2026 15:42:00 +1000 Subject: [PATCH] Fix live-safe example default test IP for Dynu validation --- README.md | 2 +- examples/live_safe_dns_record/README.md | 2 +- examples/live_safe_dns_record/variables.tf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9edab2f..ce15d8e 100644 --- a/README.md +++ b/README.md @@ -298,7 +298,7 @@ Live acceptance tests are opt-in and require: Use `examples/live_safe_dns_record` when you want to safely validate writable provider behavior against a real Dynu account. - This example creates a unique temporary subdomain in the form `-.`. -- It creates exactly one disposable `A` record using an obviously non-production test IP by default. +- It creates exactly one disposable `A` record using a default IPv4 value accepted by Dynu. - It is designed so `terraform destroy` removes only the created disposable record from that run/state. Safety guidance: diff --git a/examples/live_safe_dns_record/README.md b/examples/live_safe_dns_record/README.md index a7318a7..f4836f1 100644 --- a/examples/live_safe_dns_record/README.md +++ b/examples/live_safe_dns_record/README.md @@ -10,7 +10,7 @@ then you remove it with `terraform destroy`. - Hostname format is: - `-.` - Creates exactly one record: - - `A` record, default content `198.51.100.10`, default TTL `300`. + - `A` record, default content `1.1.1.1`, default TTL `300`. - Does **not** import, update, replace, or delete existing production hostnames/records. - `terraform destroy` removes only the disposable record in this state. diff --git a/examples/live_safe_dns_record/variables.tf b/examples/live_safe_dns_record/variables.tf index 94c81fa..e6bcc85 100644 --- a/examples/live_safe_dns_record/variables.tf +++ b/examples/live_safe_dns_record/variables.tf @@ -23,9 +23,9 @@ variable "test_suffix" { } variable "test_ip" { - description = "Safe documentation/test IPv4 value for the disposable A record." + description = "IPv4 value for the disposable A record. Dynu rejects reserved documentation ranges (for example 198.51.100.0/24), so this default uses a public resolver address." type = string - default = "198.51.100.10" + default = "1.1.1.1" } variable "test_ttl" {