slide

Terraform

terraform

Comparing OpenTofu and Terraform

[Last updated 2024-01-26] Terraform and OpenTofu are both IaC tools that share a common ancestry. OpenTofu was created when HashiCorp shifted the licensing of Terraform from …

Ned Bellavance 2 min read
terraform

Terraform Taint Is Bad, And Here's Why

The terraform taint command marks an existing resource in state data for replacement. On it’s surface, this seems like a useful feature. However, it’s actually a …

Ned Bellavance 8 min read
terraform

Using Optional Arguments in Terraform Input Variables

Well hot damn! Terraform 1.3 has introduced an incredibly popular feature for the Terraform community: optional arguments. This is a feature that has been requested for a long …

Ned Bellavance 4 min read
terraform

Nonsensitive function fails in Terraform

When I was trying to work with a module in Terraform, I came across an interesting issue. The module in question created an Azure AD service principal and optionally a secret for …

Ned Bellavance 3 min read
terraform

Replacing the template_cloudinit_config data source

I was working on updating some Terraform code as part of a consulting engagement and I came across an EC2 configuration that was using the template_cloudinit_config data source to …

Ned Bellavance 8 min read
terraform

Using the Moved Block in Terraform 1.1

The release of Terraform 1.1 has brought with it a new configuration block type called moved. This is a super-cool new block that helps with when you want to refactor your …

Ned Bellavance 11 min read
terraform

GitHub Actions with Terraform

Recently, I was a guest on the Azure DevOps Lab YouTube channel, talking about using GitHub Actions with Terraform to deploy infrastructure on Azure. April Edwards was a gracious …

Ned Bellavance 11 min read
terraform

Mysterious missing "region" argument in Terraform

I’m working on my next course for Pluralsight, Implementing Terraform on AWS. I probably don’t need to explain what the course is about. Anyhow, I was trying to show …

Ned Bellavance 3 min read
terraform

The Terraform Certified Study Guide

As I mentioned in a previous post, HashiCorp has officially announced the availability of two certifications, Terraform Certified Associate and Vault Certified Associate. In that …

Ned Bellavance 6 min read