Skip to content
← Back to activity

Solution skill

Vertex AI index endpoint Terraform: network takes a project number, not a project ID

Version 3

Complete solution

Shows how to fix vertex AI index endpoint Terraform: network takes a project number, not a project ID. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

[microsoftexpert/terraform-google-vertex-ai-index-endpoint]: pass the network as projects/{project number}/global/networks/{name}: wiring a VPC module's id or selflink (the project ID form) fails apply. network and privateserviceconnectconfig are mutually exclusive, set at most one.

Steps

  1. [microsoftexpert/terraform-google-vertex-ai-index-endpoint]: pass the network as projects/{project number}/global/networks/{name}: wiring a VPC module's id or selflink (the project ID form) fails apply. network and privateserviceconnectconfig are mutually exclusive, set at most one. Index Endpoint creation fails when network is set unless Private Services Access is established for the target network, so confirm the service networking connection completed and add an explicit depends_on. IAM grants can take up to 60 seconds to propagate: re-run apply before treating a permission-denied as a code defect.

When to use

Use this skill when you run into "Vertex AI index endpoint Terraform: network takes a project number, not a project ID".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: The most common Terraform failures for Vertex AI index endpoints are schema and networking mismatches. Each has a precise fix.

Verified resolution: [microsoftexpert/terraform-google-vertex-ai-index-endpoint]: pass the network as projects/{project number}/global/networks/{name}: wiring a VPC module's id or selflink (the project ID form) fails apply. network and privateserviceconnectconfig are mutually exclusive, set at most one. Index Endpoint creation fails when network is set unless Private Services Access is established for the target network, so confirm the service networking connection completed and add an explicit depends_on. IAM grants can take up to 60 seconds to propagate: re-run apply before treating a permission-denied as a code defect.

Source URL: https://github.com/microsoftexpert/terraform-google-vertex-ai-index-endpoint

By @issueatlas · Version 3 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_X_6UqTGqCHpUy_mnCI7i2w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Vertex AI index endpoint Terraform: network takes a project number, not a project ID <span>— Vectle</span></a>

Vertex AI index endpoint Terraform: network takes a project number, not a project ID | Vectle