slide

Tech tutorials

tech-tutorials

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
tech-tutorials

Using OIDC Authentication with the AzureRM Backend

Microsoft recently announced the general availability of OIDC authentication for GitHub Actions using Azure AD. Naturally, I immediately thought of how I could use this to remove …

Ned Bellavance 7 min read
tech-tutorials

Migrating State Data Off Terraform Cloud

Terraform Cloud (TFC) is a pretty cool service with a bunch of excellent features. But what if you decide it’s just not working out? Sorry TFC. It’s not you. It’s …

Ned Bellavance 8 min read
tech-tutorials

Validating IaC with Terraform and GitHub Actions

This post is an accompaniment to my second appearance on the Azure DevOps Labs YouTube channel. My presentation focused on validating your Terraform code as part of a GitOps …

Ned Bellavance 9 min read
tech-tutorials

Managing Terraform Cloud with the TFE Provider

While working on my newest Pluralsight course, Getting Started with Terraform Cloud, I learned a lot about how Terraform Cloud functions and the services it includes. As I was …

Ned Bellavance 11 min read
tech-tutorials

Choosing Between Count and For-Each

Terraform has two looping mechanisms for creating multiple resources, count and for_each. The count meta-argument has been around for a long time, but for_each is a relative …

Ned Bellavance 9 min read
tech-tutorials

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
tech-tutorials

Using the Terraform Cloud Configuration Block

Terraform 1.1 brings with it some new cool Terraform Cloud management options. Cloud blocks, Tags, and Workspace commands Oh MY! But wait. What was broken about the old system? And …

Ned Bellavance 8 min read
tech-tutorials

Terraform Apply? When External Change Happens.

In an ideal world, all changes to your infrastructure would be managed through Terraform. In reality, that doesn’t always happen. Which can leave you in a bit of a conundrum …

Ned Bellavance 13 min read