What is state, why do we need it and how does it help us
Rounding out 2022 with my key highlights and setting some goals for the new year!
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, what they are and how to use them. A powerful mechanism for creating multiple blocks/sub-resources within a Terraform resource.
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.
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.
How to use local variables in your Terraform code, with both static and dynamic methods of using local variables.
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.
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.
Methods of ingesting configuration into your Terraform code or modules to help you deliver infrastructure in a more consistent and repeatable mannerAll posts