3 ms·
"No because Lambdas are proprietary which means you can't run it in a CI or locally." It kinda is, but not really. You get an event object as param and often o
by k__ 7y ago
"No because Lambdas are proprietary which means you can't run it in a CI or locally."
It kinda is, but not really. You get an event object as param and often only need a few fields from it.
Also, you can run Lambda locally, AWS SAM CLI lets you run them in Docker for debugging purposes.
- vips7L 7y agoI found SAM to be extremely difficult to use, especially on windows where docker is just plain old terrible.
- k__ 7y agoTrue. I stopped using windows for dev machines long time ago, but I'd guess with the Linux subsystem stuff it will catch-up in the next years.
- vips7L 7y agoI honestly have no problems developing on windows (except when my macos coworkers dont consider windows). Docker is the only real issue.
- k__ 7y agoYes, it's unusable on macos and windows. Hopefully WSL2 will solve this.
- guitarbill 7y agoDocker largely works fine on macOS? At least for testing, haven't run into any issues other than bad filesystem performance if you're writing a lot of data to a mounted FS. Our team uses it daily - a far cry from "unusable".
- k__ 7y agoMaybe you just got a higher pain tolerance or better machines?
- jareds 7y agoI have the latest Windows insiders build on a spare machine. I've found all the aws tooling including SAM works pretty well under WSL 2 now that WSL uses a true Linux kernel.
- modoc 7y agoTried getting SAM to work on OS X, no luck, lots of pain.