Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ubuntu 22.04 - Install OpenTofu

Instructions for installing OpenTofu, the Terraform drop-in replacement.

Terraform Commands

A cheatsheet for just the Terraform commands.

Use S3 To Store Terraform State

Learn how to configure Terraform to use an existing S3 as your backend to store your state.

Terraform - Create an Elastic Container Registry

Sample code for creating an elastic container registry where you can push/pull your Docker images.

Terraform Example - Adding HTTPS Listener

Adding support for HTTPS listeners in Terraform example.

Use PostgreSQL To Store Terraform State

Configure Terraform to use a shared PostgreSQL server to hold the terraform state and implement locks.

Terraform Working Example

A Terraform example/starter codebase to get you deploying a Dockerized web service on Amazon EC2 quickly and easily.

AWS Cloud Init - Add SSH Access

Add SSH access to cloud init configuration for when using cloud init with Terraform on AWS.

Terraform Cheatsheet

A cheatshee for Terraform