diff --git a/vertex_ai/index_endpoint_deploy_psc/main.tf b/vertex_ai/index_endpoint_deploy_psc/main.tf index 7e69ba07..87d5119d 100644 --- a/vertex_ai/index_endpoint_deploy_psc/main.tf +++ b/vertex_ai/index_endpoint_deploy_psc/main.tf @@ -34,7 +34,7 @@ resource "google_vertex_ai_index_endpoint" "default" { private_service_connect_config { enable_private_service_connect = true project_allowlist = [ - data.google_project.project.name, + data.google_project.project.project_id, ] } } diff --git a/vertex_ai/index_endpoint_mutate_psc/main.tf b/vertex_ai/index_endpoint_mutate_psc/main.tf index 5472c20d..cad62831 100644 --- a/vertex_ai/index_endpoint_mutate_psc/main.tf +++ b/vertex_ai/index_endpoint_mutate_psc/main.tf @@ -41,7 +41,7 @@ resource "google_vertex_ai_index_endpoint" "default" { private_service_connect_config { enable_private_service_connect = true project_allowlist = [ - data.google_project.project.name, + data.google_project.project.project_id, ] } } diff --git a/vertex_ai/index_endpoint_psc/main.tf b/vertex_ai/index_endpoint_psc/main.tf index 163c17d9..b3b40a20 100644 --- a/vertex_ai/index_endpoint_psc/main.tf +++ b/vertex_ai/index_endpoint_psc/main.tf @@ -23,7 +23,7 @@ resource "google_vertex_ai_index_endpoint" "default" { private_service_connect_config { enable_private_service_connect = true project_allowlist = [ - data.google_project.project.name, + data.google_project.project.project_id, ] } }