Skip to main content
Jorge Bernhardt Jorge Bernhardt

Terraform

2023

How to store the Terraform state file in Google Cloud Storage
·879 words·5 mins· 100 views · 5 likes
Google Google CloudShell Terraform Google Cloud Storage
When you start using Terraform to manage your cloud infrastructure, a key consideration is where to store the state file that Terraform generates to track changes to your infrastructure. While storing this file locally on your machine is possible, a more scalable and secure approach is to store it in a centralized location that your entire team can access.

2022

Terraform Troubleshooting - Enable Logging
·495 words·3 mins· 100 views · 5 likes
Terraform troubleshooting
If you run into a problem with Terraform, it can be helpful to capture Terraform’s debug output, so you can analyze it or use it to open an issue case. In this post, I want to show you how to enable terraform logging and set the log location on Windows and Linux operating systems.

2021

How to store the Terraform state file in Azure Storage
·874 words·5 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure PowerShell Get-AzStorageAccount
In this post, I want to show you how to configure terraform to use an Azure storage account to store and protect your tfstate file. To manage the infrastructure and configuration, Terraform writes the status of resources to a tfstate file.

2020

First steps in Terraform - Azure Setup
·465 words·3 mins· 100 views · 5 likes
Azure CLI Azure Cloud Shell Azure DevOps Azure service principal
Today I want to talk to you about terraform, this open-source tool that allows us to define, preview and deploy infrastructure on a multitude of cloud providers such as Azure, AWS, and google, using the HashiCorp Configuration Language (HCL).