Resource reference via resource's name at api endpoint

Issue:
Terraform think resource reference by name is different when comparing it to resource’s uuid

Code snippet when “terraform plan”:
# avi_healthmonitor.myhealthmonitor will be updated in-place
~ resource “avi_healthmonitor” “myhealthmonitor” {
failed_checks = 3
id = “https://example.com/api/healthmonitor/healthmonitor-56f16208-014c-47b7-a2cf-40e6684dfc59
is_federated = false
name = “myhealthmonitor”
receive_timeout = 4
send_interval = 5
successful_checks = 1
~ tenant_ref = “https://example.com/api/tenant/tenant-bb49ae55-7d4b-4b87-95b1-51a97b320089” -> “/api/tenant/?name=myhealthmonitor”
}

resource definition:
resource “avi_healthmonitor” “myhealthmonitor” {
tenant_ref = “/api/tenant/?name=${var.target_tenant}”
depends_on = [module.mod_executor]
name = “myhealthmonitor”
type = “HEALTH_MONITOR_HTTP”
receive_timeout = 4
is_federated = false
failed_checks = 3
successful_checks = 1
send_interval = 5
http_monitor {
exact_http_request = true
http_request = “GET /lbhealthcheck/default.htm HTTP/1.1\r\n”
http_response_code = [“HTTP_2XX”, “HTTP_3XX”]
http_response = “This site is up”
}
}