TypeScript Types for AWS Lambda

TypeScript is an excellent language for writing AWS Lambda functions. Its flexible static typing allows for high developer productivity and since it can be transpiled into JavaScript, our code can be bundled into small deployment packages that allow for fast Lambda cold starts, without need for keeping 'warm' instances of our lambdas. I have recently … Continue reading TypeScript Types for AWS Lambda

The Ultimate Guide to TypeScript Monorepos

Featured

I've written a couple of posts about how to set up JavaScript and TypeScript Monorepos over the past three years (#1, #2, #3, #4, #5, #6, #7), and I kind of thought I had it all figured out - but I didn't. It turned out that for various reasons it is fiendlishly difficult to develop … Continue reading The Ultimate Guide to TypeScript Monorepos

Lambda Go Starter Project

Serverless development allows deploying low-cost, low-maintenance applications. Go is an ever-more popular language for developing backend applications. With first rate support both in AWS Lambda and GCP Cloud Functions, Go is an excellent choice for serverless development. Unfortunately, setting up a flexible infrastructure and efficient deployment pipelines for Serverless applications is not always easy. Especially … Continue reading Lambda Go Starter Project

Deploy Java Lambda using SAM and Buildkite

I've recently covered how to deploy a Node JS based Lambda using SAM and Buildkite. I would say that this should cover most use cases, since I believe a majority of AWS Lambdas are implemented with JavaScript. However, Lambda supports many more programming languages than just JavaScript and one of the more important ones among … Continue reading Deploy Java Lambda using SAM and Buildkite

AWS Lambda: Cross-account pass role is not allowed.

Today I came across the following exception while working with the AWS SDK for Amazon Lambda: com.amazonaws.AmazonServiceException: Cross-account pass role is not allowed. (Service: AWSLambda; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxx) At first I was a bit puzzled where this exception might come from; but when I found out what the problem … Continue reading AWS Lambda: Cross-account pass role is not allowed.