question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Suggest marking Google Cloud Functions support as experimental

See original GitHub issue

It does not appear that GCP Cloud Functions are actually properly supported by the framework at the moment. For instance, these came up in the first ~3 hours of trying to develop on this stack:

Still, the docs site implies that GCP is properly supported despite basic functionality like local invocation and being recognized as a valid provider being broken, even though Google is near the top of the provider list (as well as being a major vendor in the field).

I fully appreciate the complexity of developing a framework abstracting over multiple serverless providers, and the general difficulty of OSS, however the documentation is misleading as to the readiness of the GCP support. We just began building a project targeting GCP + serverless after a week of research with rapid iteration in mind but once development started, it became apparent that the tooling isn’t ready. I had previously used the framework for AWS and had good results, which makes this really disappointing.

I would update docs to indicate that GCP support is partial.

EDIT: edited for tone

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
medikoocommented, Aug 17, 2020

I think the issue with the “Unrecognized provider” error is that it can easily be interpreted as equivalent to the (actually fatal) "Serverless Error…

I agree, that it easily can be misinterpreted. I’ve opened dedicated issue for that: https://github.com/serverless/serverless/issues/8084 we will handle that shortly

Finally, on a really high level, I feel that working towards a uniform interface for serverless function deployment across providers would be a great boon to everybody in the field

I personally share very same sentiment. At this point we’re probably not close to that, but I’ll definitely look forward in that direction (anyway at this point more effort is put into improving Serverless Components)

another small note, the error message links to “https://www.serverless.com/framework/docs/providers/aws/guide/plugins#extending-validation-schema”, which is housed under /providers/aws

Yes, it’s general problem with documentation, that a lot of provider agnostic content is hosted under AWS. I’ve opened an issue to tackle that: https://github.com/serverless/serverless/issues/8085 (PR’s welcome!)

1reaction
parkancommented, Aug 12, 2020

another small note, the error message links to “https://www.serverless.com/framework/docs/providers/aws/guide/plugins#extending-validation-schema”, which is housed under /providers/aws, furthering the confusion about whether the provider I’m using is supported

Read more comments on GitHub >

github_iconTop Results From Across the Web

gcloud functions deploy | Google Cloud CLI Documentation
Containerized apps with prebuilt deployment and unified billing. ... Tool to move workloads and existing applications to GKE. ... Monitoring, logging, and ...
Read more >
Google Maps Platform launch stages
This topic describes the life cycle stages that Google Maps Platform products and features may move through, such as the launch stages Experimental,...
Read more >
Monitoring and Logging for Cloud Functions
Start typing executions into the Select a Metric dropdown, and then select Cloud Function > Function > Executions from the suggested metrics and ......
Read more >
Google Analytics for Firebase
At the heart of Firebase is Google Analytics, an unlimited analytics solution available at no charge. Analytics integrates across Firebase features and ...
Read more >
Parallel executions with Google Workflows - Medium
You can achieve this with PubSub and Cloud Functions. However, it quickly becomes a spaghetti design with a lot of topics and functions....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found