By Morgan Lucas (she/her) August 22 2025 - Continuing

Here are small bits that I use to make using Terraform easier. Big shout out to saed and KodeKloud Studio for having a ton of labs within containerized setups to practice with!

I used vim.

Table of Contents


Terraform and DynamoDB

I have maintained a lot of databases over my career - I know the strife of a missing primary key - it uniquely ID’s each thing in a table - so trying this was especially fun.

I repeated it several times to understand the basics. It’s dense stuff.

Count and for_each

Ooh! I thought I had implemented this in my first Terraform project. Seeing it in action here is exciting.

I use count=3 to make 3 of these resources.

image.png

I used something much more complicated because it had more components than a single file, which was now implemented as a list in an array (I pull the first resource made made with terraform state show local_sensitive_file.name**[1]**