Efficiently Fetching SSM and Secrets in AWS Lambda with Pydantic Models

Posted by Miguel Lopez on Tue 29 April 2025 in serverless

Learn why you should fetch SSM parameters and secrets only once per AWS Lambda execution, and how to use Pydantic to manage your configuration cleanly.


Continue reading

Loading Environment Variables into Pydantic Settings in AWS Lambda

Posted by Miguel Lopez on Tue 29 April 2025 in serverless

Learn how to load environment variables into Pydantic settings in AWS Lambda, with a practical example using Terraform.


Continue reading

Serverless Framework: Serverless Compose Example Project

Posted by Miguel Lopez on Wed 14 June 2023 in serverless

A guide to help you deploy mutiple Serverless projects at once using Serverless Compose. By the end of this guide, you will have an example of how to organize and deploy multiple Serverless projects using Serverless Compose.


Continue reading

Serverless Framework: Creating an RDS Serverless Database Example

Posted by Miguel Lopez on Sat 10 June 2023 in serverless

A guide to help you deploy serverless RDS clusters using the Serverless Framework. By the end of this guide, you will have a serverless Postgres database created by Serverless Framework to support your Lambda Functions.


Continue reading

Serverless Framework: Creating an SQS Queue Example

Posted by Miguel Lopez on Sat 10 June 2023 in serverless

A guide to help you deploy an SQS queue using the Serverless Framework. By the end of this guide, you will have an SQS queue deployed by Serverless Framework and connected to your Lambda Functions.


Continue reading

Dockerfile with Packer and Ansible Installed

Posted by Miguel Lopez on Tue 06 June 2023 in tutorials

Create a Docker Image with Packer + Ansible installed. This is useful for creating a Docker Image that can be used for CI/CD pipelines.


Continue reading

Exporting AWS SSO Login Credentials

Posted by Miguel Lopez on Mon 05 June 2023 in tutorials

Run AWS SSO Login and create temporary AWS credentials. Save and use these AWS credentials for your local bash environment or docker containers.


Continue reading

If Statements Inside Terraform Dynamic Blocks

Posted by Miguel Lopez on Tue 24 January 2023 in terraform

A guide to help you build if-statements inside Terraform dynamic blocks. By the end of this guide, you will understand how to create two default_action blocks for the aws_lb_listener resource (and only use one of them).


Continue reading

Entrypoint Script with Localstack and Docker-Compose

Posted by Miguel Lopez on Mon 16 January 2023 in localstack

This guide will use entrypoint scripts to create AWS Resources in Localstack. By the end of this guide, you will have an example of to create an s3 bucket in Localstack and access it from aws-cli.


Continue reading

Run Localstack with Docker-Compose

Posted by Miguel Lopez on Mon 16 January 2023 in localstack

Use Localstack to Mock AWS Services For Local Containers


Continue reading