Skip to content

Commit

Permalink
Remove force new from custom_client_ip_header in custom domain resource
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Oct 12, 2022
1 parent 973f22f commit 10196d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/provider/resource_auth0_custom_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
},
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 10196d2

Please sign in to comment.