From 6e8abf79034206ac4294022ecfbf6df85b2f6f56 Mon Sep 17 00:00:00 2001 From: John Stilia Date: Fri, 3 Oct 2025 20:16:14 +0100 Subject: [PATCH] route53domains: make privacy fields optional/computed to avoid forced API calls Removes Default=true from admin/billing/registrant/tech_privacy so Terraform no longer always calls UpdateDomainContactPrivacy, fixing 400 errors for TLDs like .cz and .eu. --- internal/service/route53domains/registered_domain.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/service/route53domains/registered_domain.go b/internal/service/route53domains/registered_domain.go index a120f9572610..11a5978863e9 100644 --- a/internal/service/route53domains/registered_domain.go +++ b/internal/service/route53domains/registered_domain.go @@ -158,7 +158,7 @@ func resourceRegisteredDomain() *schema.Resource { "admin_privacy": { Type: schema.TypeBool, Optional: true, - Default: true, + Computed: true, }, "auto_renew": { Type: schema.TypeBool, @@ -169,7 +169,7 @@ func resourceRegisteredDomain() *schema.Resource { "billing_privacy": { Type: schema.TypeBool, Optional: true, - Default: true, + Computed: true, }, names.AttrCreationDate: { Type: schema.TypeString, @@ -214,7 +214,7 @@ func resourceRegisteredDomain() *schema.Resource { "registrant_privacy": { Type: schema.TypeBool, Optional: true, - Default: true, + Computed: true, }, "registrar_name": { Type: schema.TypeString, @@ -239,7 +239,7 @@ func resourceRegisteredDomain() *schema.Resource { "tech_privacy": { Type: schema.TypeBool, Optional: true, - Default: true, + Computed: true, }, "transfer_lock": { Type: schema.TypeBool,