In Cloud Functions of GCP, how can I use a file di...
# general
m
In Cloud Functions of GCP, how can I use a file different from
main.py
? The error is suggestive but I don't see the corresponding parameter (GOOGLE_FUNCTION_SOURCE) in Pulumi docs. Error:
Copy code
Error code 3, message: Build failed: missing main.py and GOOGLE_FUNCTION_SOURCE not specified. Either create the function in main.py or specify GOOGLE_FUNCTION_SOURCE to point to the file that contains the function; Error ID: 5c04ec9c
Pulumi AI is suggesting gibberish again. Thanks :)
It is done through build_environment_var