Open eduardoblucas opened 2 years ago
Hello @eduardoblucas - I'm afraid that second gen functions are currently not supported.
@pgrzesik Thank you, any idea if/when this will be implemented?
No idea, you're the first person mentioning it and there are no plans to implement support for it. If someone from the community want to give it a shot - please feel free to do so 💯
I am sure many people would like to use it
I am sure many people would like to use it
Absolutely! The benefits that second gen cloud functions brings puts it on par with Azure Cloud Functions and Lambdas. I would definitely hope to see this capability real soon.
I can work on this as I also need this feature. However, this feature is still in beta and is not supported by the v1 api endpoints. Once the v2 api is out of beta, I can create a PR
2nd gen is already GA, and I could to find the v2 API in googleapis
Hello folks, I’ve recently got access to this project and in the coming weeks I will try to investigate this issue (among a few other open initiatives). If you have any insights about this particular feature, please share it, it will be much appreciated 🙇
Hey there, I've managed to dive a bit deeper into the differences between v1 and v2 and while the function definition is not that different, the major change is around supported events and how they're defined. It might require significant effort to handle that, so I'm not sure if I can provide any ETA for v2 support at the moment. I'll continue looking into it though 👍
@pgrzesik Might be interested to help here- we're using serverless for our OS Frigg Framework (friggframework.org) and we've got a request for (and an obvious benefit to) using Gen2. I had peeked at it as well a few weeks ago and it looks ultimately like EITHER using v2 apis JUST for GCP, or re-writing everything to use v2 apis... which means a lot of type changes etc.
Any progress/thoughts on the approach?
How to config the serverless.yaml to deploy second gen functions?