Assume we're deploying GCP Cloud Functions from a GitHub repo (mirrored via GCP Source Repositories). Is it possible to set up shared code that can be accessed by both functions below? (e.g. via helpers.py
).
helpers.py
function_one/
├── main.py
function_two/
├── main.py
Not exactly, since each function is a separate entity. But you could move your helpers.py to its own repository, then import the repository within each individual function.