Cloudrun in share vpc

My case is this: projectA with sharevpc with the us-west1 subnetwork (10.126.1.0/24) ProjectB consuming the vpc of projectA (us-west1 subnetwork 10.126.1.0/24) ProjectB started a cloudrun using the shared network of projectA subnetwork us-west1 (10.126.1.0/24) in direct vpc egress internal mode In projectA I created a vm using a us-west1 subnet (10.126.1.0/24) once logged into the vm of projectA, I try to access using curl in the url of projectB’s cloudrun.
and I received 404, I have already reviewed the firewall rule, I tried the firewall rule and nothing.

— but when I upload everything to the same project in the case of projectA cloudrun + vm everything works.

PS: remember that I gave iam permission to the cloudrun service accounts of project B in project A as NetworkUser and nothing.

If anyone can help, I would be grateful

Hi @leandrojpg ,

Welcome to Google Cloud Community!

According to the documentation, when using Shared VPC, Cloud Run services should be created on the Host Project. This is why it works when you create a Cloud Run service on your Host Project, which is your ProjectA.

I hope this helps.