Blog

Easy lambdas with Netlify

03 Sep, 2021

Over the past years I’ve tried working with lambda functions on and off a couple of times. Each time I got stuck, either clicking in AWS UIs or writing YAML files.
Netlify changes all that by making lambdas easy to use. Below I’ll describe the basics of deploying a function, and I’ll show how the development tools support local development.
The most basic hello world example I could come up with can be found in this repo, tagged basic-javascript-lambda. There’s a simple index.html file (a left over from earlier experiments), and a hallo.js file in src/functions. That’s almost al there is to it, but it needs one specific bit of configuration in a file named netlify.toml, located in the root of the repository.
More

Developing software and infrastructure in teams, doing whatever it takes to get stable, safe and efficient systems in production.
guest
0 Comments
Inline Feedbacks
View all comments

Explore related posts