2 ms·
Is this how serverless really is? I just inherited someone's lambda project and basically I have the same experience. Like no testing, just deploy to production
by tayo42 3y ago
Is this how serverless really is? I just inherited someone's lambda project and basically I have the same experience. Like no testing, just deploy to production and see how it goes. Idk how this didn't set off red flags to anyone.
- icedchai 3y agoSadly, yes. You can build an app that runs both locally and on Lambda / serverless. I've done it and seen it done. However, in my experience, this is generally beyond the capabilities of most individuals. It's more often a mess than not.
- financltravsty 3y agoYes it's a Kafka-esque soul-deadening trial. Either you: use some OSS tool that emulates AWS infra locally (never exactly, and always missing features), run the aforementioned tool in a container because why not (looking at you, GitHub runners), or simply rely on manual integration testing to somewhat emulate the environment (and provision and point to blackbox cloud resources when you have a lot of moving pieces).
- paulryanrogers 3y agoIs Localstack enough?
- mike_hearn 3y agoNot always. Check out how Oracle Cloud does it. It's a hosted version of an open source stack called fn, which you can run fully locally via a simple CLI tool. https://fnproject.io https://fnproject.io