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

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

Running Git in AWS Lambda Functions

Posted by Miguel Lopez on Thu 07 March 2019 in tutorials

Use GitPython w/ a Git Executable in AWS Lambda


Continue reading

Building Robust Packer AMIs

Posted by Miguel Lopez on Fri 16 November 2018 in automation

How to avoid Could not get lock /var/lib/dpkg/lock while using Packer


Continue reading

Solving Connectivity Issues w/ Global Protect

Posted by Miguel Lopez on Fri 13 April 2018 in tutorials

Solving Connectivity Issues on Global Protect


Continue reading

Jenkins Pipeline Env Variables w/ AWS SSM

Posted by Miguel Lopez on Thu 12 April 2018 in automation

Pull environment variables from AWS Parameter Store in a Jenkins Declarative Pipeline


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

Install Common Development Tools on Mac

Posted by Miguel Lopez on Wed 04 April 2018 in automation

Automatically install common developer tools on macOS with this script.


Continue reading