From 10196d234aca58b5a2b92bd842fad63bdd92758f Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea Date: Wed, 12 Oct 2022 11:52:12 +0200 Subject: [PATCH] Remove force new from custom_client_ip_header in custom domain resource --- internal/provider/resource_auth0_custom_domain.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/provider/resource_auth0_custom_domain.go b/internal/provider/resource_auth0_custom_domain.go index c37b5003..0e4cb575 100644 --- a/internal/provider/resource_auth0_custom_domain.go +++ b/internal/provider/resource_auth0_custom_domain.go @@ -76,7 +76,6 @@ func newCustomDomain() *schema.Resource { }, "custom_client_ip_header": { Type: schema.TypeString, - ForceNew: true, Optional: true, Description: "The HTTP header to fetch the client's IP address.", }, @@ -115,7 +114,7 @@ func readCustomDomain(ctx context.Context, d *schema.ResourceData, m interface{} d.Set("primary", customDomain.GetPrimary()), d.Set("status", customDomain.GetStatus()), d.Set("origin_domain_name", customDomain.GetOriginDomainName()), - d.Set("custom_client_ip_header", customDomain.GetCustomClientIPHeader()) + d.Set("custom_client_ip_header", customDomain.GetCustomClientIPHeader()), ) if customDomain.Verification != nil {