Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - How to deploy GCP Second Gen cloud functions? #289

Open
eduardoblucas opened this issue Mar 9, 2022 · 10 comments
Open

Question - How to deploy GCP Second Gen cloud functions? #289

eduardoblucas opened this issue Mar 9, 2022 · 10 comments

Comments

@eduardoblucas
Copy link

How to config the serverless.yaml to deploy second gen functions?

@pgrzesik
Copy link
Contributor

Hello @eduardoblucas - I'm afraid that second gen functions are currently not supported.

@eduardoblucas
Copy link
Author

@pgrzesik Thank you, any idea if/when this will be implemented?

@pgrzesik
Copy link
Contributor

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 💯

@faradaytrs
Copy link

I am sure many people would like to use it

@kevboutin
Copy link

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.

@a88zach
Copy link

a88zach commented Jul 28, 2022

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

@sue445
Copy link

sue445 commented Sep 25, 2022

2nd gen is already GA, and I could to find the v2 API in googleapis

@pgrzesik
Copy link
Contributor

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 🙇

@pgrzesik
Copy link
Contributor

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 👍

@seanspeaks
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants