diff --git a/.changelog/5243.txt b/.changelog/5243.txt new file mode 100644 index 00000000000..8ec013c0699 --- /dev/null +++ b/.changelog/5243.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google/resource_network_services_edge_cache_origin.go b/google/resource_network_services_edge_cache_origin.go index af186001830..e9866b8e8b3 100644 --- a/google/resource_network_services_edge_cache_origin.go +++ b/google/resource_network_services_edge_cache_origin.go @@ -68,8 +68,9 @@ If a Cloud Storage bucket is provided, it must be in the canonical "gs://bucketn Description: `A human-readable description of the resource.`, }, "failover_origin": { - Type: schema.TypeString, - Optional: true, + Type: schema.TypeString, + Optional: true, + DiffSuppressFunc: compareResourceNames, Description: `The Origin resource to try when the current origin cannot be reached. After maxAttempts is reached, the configured failoverOrigin will be used to fulfil the request. diff --git a/google/resource_network_services_edge_cache_service.go b/google/resource_network_services_edge_cache_service.go index d1e7a2839f0..d6e5fb82667 100644 --- a/google/resource_network_services_edge_cache_service.go +++ b/google/resource_network_services_edge_cache_service.go @@ -341,8 +341,9 @@ Response headers are only sent to the client, and do not have an effect on the c }, }, "origin": { - Type: schema.TypeString, - Optional: true, + Type: schema.TypeString, + Optional: true, + DiffSuppressFunc: compareSelfLinkOrResourceName, Description: `The Origin resource that requests to this route should fetch from when a matching response is not in cache. Origins can be defined as short names ("my-origin") or fully-qualified resource URLs - e.g. "networkservices.googleapis.com/projects/my-project/global/edgecacheorigins/my-origin" Only one of origin or urlRedirect can be set.`,