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

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

Terraform for_each Loops w/ If Statements

Posted by Miguel Lopez on Wed 01 December 2021 in terraform

A guide to help you build if statements inside Terraform for_each loops. This guide includes a few examples of how to use conditional logic inside Terraform for_each loops to control which resources are built.


Continue reading

If, If-else Statements in Terraform

Posted by Miguel Lopez on Tue 10 April 2018 in automation

Using if-else statements in Terraform


Continue reading