Terraform is a great tool but managing AWS Lambda is arguably not one of its strength. In this post I'll describe one approach that I follow to work around this limitation.
Articles in Lambda category
In a previous article I described how to develop a serverless event-driven application to automate social media updates. Now I show how to make use of RSS/Atom Feed and AWS Lambda + CDK to add the missing bit and make it 100% automated.
For my reading habits in the recent years I've been using p2k.co service to send Pocket articles to my Kindle. I decided to fix some of p2k shortcomings replacing it with an event-driven serverless application built with AWS Lambda, Fargate and CDK
Moving from a previous CDK article I expand the publish-to-social code base to add a nice report functionality. In this article I show you how easy it is to introduce Lambda Destinations in your CDK project and make use of them for this particular use case. For the frontend part I use Svelte web framework to present the Lambda report JSON output as web page content.
In the previous article I introduced AWS Cloud Developer Kit and wondered if and how to make use of code abstractions when designing IaC. Today I show you one way to extend the previous codebase and deploy a typical event driven (pub-sub) serverless application built with Lambda and SNS.