Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

[Cloud Build]: Unable to fetch packages from Pypi Artifact Registry on another project

While deploying a gen2 Cloud Function the following cloud build is unable to fetch any python packages (public and/or private).

The cloud build service account that gets used has the necessary Artifact Registry roles (Writer, Reader). 

Both projects are also a part of a Shared VPC and the requirements.txt file contains 
"--index-url https://europe-west1-python.pkg.dev/<other-project-name>/virtual-pypi/simple".

```

ERROR: Could not find a version that satisfies the requirement pydantic==2.* (from versions: none)
```

And other private packages also fail.

Any suggestions are welcomed!

0 1 647
1 REPLY 1