I am trying to write a google cloud function to upload build artefacts from my CI to google cloud storage, but I am getting hit by http error 413 Request Entity Too Large.
The binary is about 64mb, and I suspect this error is due to size limit in body-parser settings.
anyway to fix this to allow the function upload larger files?
Sometimes it could be the Python virtual environment.
You can add the virtual environment directory (or any other directory that doesn't need to be uploaded) to the .gcloudignoe file, which behaves similarly to a .gitignore file. Everything that you specify on this file will not be uploaded to the cloud.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With