I'm using Google Cloud with the following setup:
Shared VPC Host Project: has a network called 'production' with a subnet called 'app1', is shared among all other projects.
App1 Project: has a VM instance and an App Engine running on Node. The VM instance is directly connected to the shared VPC network's subnet.
The problem is that it seems impossible to connect the App Engine to the same network. When I insert the parameters in the app.yaml
file it says that the network could not be found (it searches on the current project only).
So, how do I connect the App Engine instances to the VM? I've tried creating a network peering with no success.