slide

Terraform

terraform

Using Azure Container Instances for an Azure DevOps Self-hosted Agent

When you create a new organization in Azure DevOps, you’ll quickly discover you’re not able to run any pipeline jobs using Microsoft-hosted agents. In fact, if you kick …

Ned Bellavance 6 min read
terraform

Creating Your First Terraform Repository

Terraform is an infrastructure as code tool. The key term here being code. And where do you store your code? In a version control system like GitHub! I recently published a video …

Ned Bellavance 9 min read
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