I am trying to set up a HTTP Cloud Function that allows only internal traffic, as explained in Google’s public docs.
However, when I try to access the function from a GCE instance that does not have an external IP address it does not work, and gives me the following error:
As you can see in the following screenshots, I have both the Function and the GCE instance in the same region:
This project only has 1 VPC network, which is the default one, and the source code for the Cloud Function is the default suggestion of the Console:
Strangely enough, if I give an external IP address to the GCE instance it works, so does it mean that the traffic is still going to the internet?
