Any Terraform project configuring resources in Azure has pre-requisites. These are (i) a storage account, a container in the storage account, and the access key to the storage account, and (ii) a service principal credential to be able to communicate with Azure to create-update-delete resources. In this post, I describe the process to set up … Continue reading Create Terraform pre-requisites for Azure using Azure CLI in 3 easy steps
Tag: Terraform
Terraform Remote State -Part 2: Using Azure
This note is in continuation to the previous one -Terraform Remote State -Part1: Using AWS, where I've covered the what and how of a terraform remote state. So that we are all on the same page, I'll list down a few important points related to that: -the current state of infrastructure as referred to by … Continue reading Terraform Remote State -Part 2: Using Azure
Terraform Remote State -Part 1: Using AWS
When I started learning Terraform, I installed the tool, wrote Terraform configuration files, and ran the commands from my local (laptop). I did not put a lot of thought into understanding a remote state and how it is useful. As I continued learning, and as I started using Azure DevOps to automate infrastructure provisioning using … Continue reading Terraform Remote State -Part 1: Using AWS
Exploring Azure Pipelines, Terraform, and Powershell
As of this writing [Feb 2021], if you've used the Terraform extension from Microsoft DevLabs, you'd have noticed that there is support for only a tiny set of Terraform commands out of the box. These are init, validate, plan, validate and apply, and destroy. But Terraform has many commands: fmt, import, output, show, taint, workspace, … Continue reading Exploring Azure Pipelines, Terraform, and Powershell
Azure Pipelines (YAML) and Terraform to provision Amazon S3
In my previous note, [Azure DevOps and Terraform to provision Amazon S3], I listed in detail the steps to be followed to provision an Amazon S3 bucket using Azure DevOps and Terraform. I referred to the classic editor in the build definition/azure pipelines. Build and release definitions declared via a classic editor in Azure DevOps, … Continue reading Azure Pipelines (YAML) and Terraform to provision Amazon S3
Azure DevOps and Terraform to provision Amazon S3
Here's an interesting use case I came across -that I thought could also be a valuable resource to share- and hence this post. I've worked on Terraform and am aware of the solution that it provides to IaC principles. I've worked extensively on Azure DevOps and know Azure Pipelines can also be good at orchestration. … Continue reading Azure DevOps and Terraform to provision Amazon S3
How I prepared for and passed Terraform associate certification
I do not have a lot of experience taking professional certification tests, so I cannot compare whether this test is easy or hard. However, if your concepts on IaC are clear and you have hands-on experience on Terraform (over three months in my case) in provisioning and managing resources, this certification is a good status … Continue reading How I prepared for and passed Terraform associate certification
Getting started with Terraform -Variables
Continuing with my learning on Terraform, I realized an exciting type of variable -map type and how to refer to it. And that was when I decided to prepare my notes on Terraform variable types, ways to declare them, assign values, and refer to them. These are my running notes, so I'll keep updating them … Continue reading Getting started with Terraform -Variables
Authenticating Terraform to AWS using IAM user
In my previous note, I mentioned the steps to authenticate Azure. In this note, I'll list the steps to authenticate to AWS. The approach will be pretty similar -we create an IAM user with appropriate policies, create/update terraform configuration files, and run the configuration files. Step 1: Create an IAM user To work with resources … Continue reading Authenticating Terraform to AWS using IAM user
Authenticating Terraform to Azure using Service Principal
Continuing on my journey to learn Terraform, I wanted to explore the idea of authenticating Terraform to Azure. Terraform, as we know, is an infrastructure automation tool, and this authentication technique allows us to create/manage resources on the Azure cloud platform. I came across two insightful articles on Azure Service Principals that helped me understand … Continue reading Authenticating Terraform to Azure using Service Principal








