Below you will find pages that utilize the taxonomy term “Terraform”
Posts
Deploy to multiple Azure regions using Terraform Cloud
Problem Statement:
I have Terraform modules in a single repository that enable me to deploy a hub virtual network, firewall and VPN gateway. How can I deploy this code to multiple Azure regions using Terraform Cloud?
Answer:
There is more than one way to achieve this:
A Github repository dedicated to each region and a Terraform Cloud workspace for each region Publish the modules to terraform cloud private registry, reference those modules in a repository dedicated for each region and a terraform cloud workspace for each region Use a single repo for everything with different directories containing a root module for each environment and a terraform workspace for each region I’m sure there are other options as well as the above
Posts
Using Snyk with Terraform Cloud Run Tasks
What is Snyk?
Find and automatically fix vulnerabilities in your code, open source dependencies, containers, and infrastructure as code — all powered by Snyk’s industry-leading security intelligence.
What are Terraform cloud Run Tasks?
Run Tasks allow you to directly integrate third-party tools and services at certain stages in the Terraform Cloud run lifecycle
I am using Synk to scan my terraform code during the plan phase to catch potential problems with my code.
Posts
Terraform 0.12
So Terraform 0.12 was just released. I sat down this morning to have a quick play with it. I strongly recommend following the upgrade guide and make a separate branch of your TF files before testing 0.12.
After getting everything setup and ready to test I ran a plan and apply using Terraform 0.11.14 and got my infrastructure to a state where no further changes were required. I then ran terraform.
Posts
Azure Security Center & log Analytics Workspaces
Azure Security Center is a good thing to have as part of your Azure resources and it comes in two tiers: Free or Standard. By default it is enabled in your Azure subscription at the free tier and changing that to standard unlocks additional features and comes with some costs .
So you’ve upgraded Security Center to standard and you have enabled data collection and you chose the option ‘Use workspace(s) created by Security Center (default)’.
Posts
Intro to using Terraform for Azure resource deployments
I’ve been increasingly using Terraform for my Infrastructure as Code deployments to Azure and I really like it and prefer it to using ARM templates. The thing I like most about Terraform is that it’s simple to use yet very powerful in its capabilities.
This post is not intended to be an in-depth introduction to using Terraform on Azure, there are many sites around who have done that already and do it very well.