drewmullen

drewmullen @drewmullen

About: Full-stack YAML engineer

Joined:
Oct 8, 2018

drewmullen
articles - 24 total

Setting a multi-line variable as an ENV in Terraform Cloud

#terraform #tfc #envvar

Learn More 1 1Feb 12

Deploy Cloudflare Tunnels with Terraform & Kubernetes

This blog will give you a brief overview for exposing services from a private network to the public...

Learn More 2 0Jan 21

Terraform state with native s3 locking

Terraform has many popular mechanisms for storing its state file. While I have grown quite fond of...

Learn More 25 3Dec 2 '24

AWS Creds in the CLI via SSO

Brief description of an easy way to get AWS credentials from AWS SSO via CLI

Learn More 1 1Nov 16 '23

Implement Rollback with Terraform

There's no magic here, friends. $ terraform apply # fails $ git checkout HEAD~ # checkout the...

Learn More 1 0Jan 12 '23

Terraform: Variable validation with samples

How to use Terraform validation blocks and some common uses

Learn More 22 4Mar 4 '22

Terraform: Common aws_ami Searches

It should not be this difficult to search for a dang AMI

Learn More 7 0Feb 2 '22

Terraform Boilerplate: Provider block for every AWS region

Just some boilerplate HCL

Learn More 7 0Dec 29 '21

Terraform: Compare lists of maps for equality

use terraform functions to compare 2 lists of maps for equality

Learn More 1 0Dec 1 '21

VSCode + Terraform Provider Development: Setup Debugging

How to setup debugging in VSCode for when developing to the AWS Terraform Provider

Learn More 12 3Nov 12 '21

Terraform: Prevent default_tags on a specific resource

Prevent AWS default_tags from being applied to a specific resource

Learn More 8 0Nov 11 '21

Terraform: take a slice of a list with an unknown depth

How to take a slice of a list using terraform functions

Learn More 3 0Aug 17 '21

Stop using SSH, use AWS Session Manager

I will never again open a port on a security group explicitly for ssh. Session manager is fantastic, let me show you.

Learn More 9 0May 12 '21

Mock a SQS queue with moto

an example for using python library moto to mock the aws sqs api

Learn More 10 0Mar 10 '21

Terraform: Delete an Item from a List

snippet for how to remove an item from a terraform list

Learn More 1 3Feb 12 '21

Validate Cloudformation parameters with custom logic

This post shows how you can validate parameters meet logical conditions in your cloudformation stack. This allows for faster fails in circumstances when user provides properly linted but logically false values.

Learn More 3 0Feb 3 '21

Send Memory Utilization Metrics to CloudWatch

Below reviews 2 ways to collect extra metrics from an ec2 instance and send to cloudwatch. The first...

Learn More 2 0Jan 6 '21

A Python Data Types Chart for the Forgetful

A Python Data Types Chart

Learn More 8 0Apr 14 '20

Terraform: use for_each instead of count

use terraform's for_each instead of count

Learn More 7 1Jan 28 '20

Mac: bluetooth reset via terminal

a cli fix for when your bluetooth mouse disconnects

Learn More 12 1Jan 6 '20

Terraform: use a variable's value to define another variable

Use a Terraform variable's value to define another variable

Learn More 5 7Dec 13 '19

creating a sublist from a deep element in Ansible

how to extract items from a list buried in an element using jmespath

Learn More 7 0Sep 27 '19

Terraform: turn a centos vm into a linux router

while building your VM, enable IP forwarding and also pass this remote-exec provisioner...

Learn More 6 1Jul 10 '19

How to run simple tests against custom Ansible modules

Quick insight on how to test Ansible modules in CLI and in VSCode

Learn More 12 0Feb 7 '19