google.cloud
google.cloud copied to clipboard
Allow gcp_cloudfunctions_cloud_function to upload a local file
SUMMARY
Currently, only resources that are available at a google cloud storage or repo can be defined. However, the gcloud
utility does have a --source
flag that accepts local files.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
gcp_cloudfunctions_cloud_function
I'm afraid that API doesn't allow us to do that right now... https://cloud.google.com/functions/docs/reference/rest/v1/projects.locations.functions#CloudFunction
Couldn't that be implemented in code to compensate for the api? Is this a magic module limitation?