No, you cannot access metadata (GCE-specific) from a standard GAE instance, since it is not a GCE VM / instance. From Obtaining Metadata (highlighted by me):
You can request the contents of a metadata server by querying the following root URLs from a virtual machine instance . Use the URL http://metadata.google.internal/computeMetadata/v1/ to make requests to the metadata server.
The DNS failure that you see for metadata.google.internal is a likely indicator that it has a special host DNS record, available only within the network or GCE machine.
But in the general case, you can exchange files through the GAE services / modules, symbolizing the same file (ideally located in the application directory) inside each of them that requires it. See the examples here: Entity sharing between App Engine modules and here: fooobar.com/questions/998174 / ...
While the flex service / module uses the same file of the file (s) in the same way as the standard one, this method should work for them too, i.e. you can share configurations by sharing appengine_config.py , for example.
source share