Brendan Thompson

What is Terraform state?

30 January 2023

TerraformParts of Terraform
What is state, why do we need it and how does it help us

2022, that's a wrap

24 December 2022

Wrap UpGoals
Rounding out 2022 with my key highlights and setting some goals for the new year!

Terraform Moved Block

9 December 2022

TerraformTerraform Foundations
What happens when you rename a resource ID or turn it into a module or even a for_each? Terraform will try and recreate those resources, unless you perform surgery on your state files or use the powerful moved block!

Terraform Dynamic Blocks

29 November 2022

TerraformTerraform Foundations
Terraform Dynamic Blocks, what they are and how to use them. A powerful mechanism for creating multiple blocks/sub-resources within a Terraform resource.

Manage Azure Policy with Terraform

18 November 2022

TerraformAzureAzure Policy
Manage Azure Policy using Terraform with the terraform-azurerm-policy-initiative module. Using this module allows you excellent flexibility and scalability in your Azure Policy deployments. We will cover off using advanced looping techniques, sourcing from both yaml and json to provide us a robust solution.

Terraform For Expressions

14 October 2022

TerraformTerraform Foundations
Using the for expression in Terraform to filter, group, order and mutate information. With this knowledge in hand you will easily be able to construct complex objects based on existing information/configuration or from configuration passed in via input variables or ingested. Easily create multiple instances of resources or data sources using the for_each meta-argument.

Terraform Local Variables

27 September 2022

TerraformTerraform Foundations
How to use local variables in your Terraform code, with both static and dynamic methods of using local variables.

Getting Started with Terraform Modules

16 August 2022

TerraformTerraform Foundations
The how, when, and why of Terraform modules. How to create modules and ensure you're setting them up for scale and ease of use, when to create a module as well as when not to, why using modules is important for consumable Terraform.

Post Terraform v1.0 features I love

30 June 2022

There are a few features in Terraform post v1.0 that I have been hoping for, and they are finally here, mostly! This post will go through those features and how to use them.

Terraform Configuration Ingestion

29 April 2022

TerraformTerraform Foundations
Methods of ingesting configuration into your Terraform code or modules to help you deliver infrastructure in a more consistent and repeatable manner
All posts