diff --git a/.changelog/5078.txt b/.changelog/5078.txt new file mode 100644 index 00000000000..8ec013c0699 --- /dev/null +++ b/.changelog/5078.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google/resource_gke_hub_membership.go b/google/resource_gke_hub_membership.go index e82f2913907..efe6cfd2025 100644 --- a/google/resource_gke_hub_membership.go +++ b/google/resource_gke_hub_membership.go @@ -510,7 +510,7 @@ func expandGKEHubMembershipEndpointGkeCluster(v interface{}, d TerraformResource } func expandGKEHubMembershipEndpointGkeClusterResourceLink(v interface{}, d TerraformResourceData, config *Config) (interface{}, error) { - if strings.HasPrefix(v.(string), "//container.googleapis.com/") { + if strings.HasPrefix(v.(string), "//") { return v, nil } else { v = "//container.googleapis.com/" + v.(string)