I’ve looked everywhere and it seems people either use pubsub, app engine http or http with no auth. Not too many people out there showing their work for accessing functions via authentication w/ oidc tokens to access google functions. I checked out: Cannot invoke Google Cloud Function from GCP Scheduler but nothing seemed to work. Documentation I followed: https://cloud.google.com/scheduler/docs/http-target-auth#using-gcloud_1 created
Tag: google-cloud-functions
How can a Google Cloud Python function access a private Python package
I am using Google Cloud Function using Python. Several other functions are in production. However, for this, I have additionally created a custom Python package that is available on github as a private repo. I need to install the package in the Google Function WHAT I HAVE DONE I run the Google Function in local using functions-framework I have a
Connecting to Cloud SQL from Google Cloud Function using Python and SQLAlchemy
I read all documentation related to connecting to MysQL hosted in Cloud SQL from GCF and still can’t connect. Also, tried all hints in documentation of SQLAlchemy related to this. I am using the following connection The error I got was: (pymysql.err.OperationalError) (2003, “Can’t connect to MySQL server on ‘localhost’ ([Errno 111] Connection refused)”) (Background on this error at: http://sqlalche.me/e/e3q8)