Terraform workspace with multiple AWS accounts

My objectives was to use Terraform to provision resources across environments in the AWS cloud infrastructure. Following a typical CI/CD model, my idea was to build once and deploy multiple. Since there was nothing to build in terraform, I wanted to make sure the same terraform code was applied across all environments. So I thought, … Continue reading Terraform workspace with multiple AWS accounts

CI/CD using Terraform and Azure Pipelines -ideation

After writing a few notes on "Azure DevOps and Terraform," I thought of exploring the idea of integrating Azure DevOps and Terraform a little further. Generally speaking, in Azure Pipelines (classic editor), a build definition (pipeline in Azure DevOps services) is used to compile and package an artifact. Then, under Releases, we have a release … Continue reading CI/CD using Terraform and Azure Pipelines -ideation

Create Terraform pre-requisites for AWS using AWS CLI in 3 easy steps

Generally speaking, when we work with Terraform to provision resources in AWS Cloud, we have a few pre-requisites. These areĀ  -a remote backend to store the Terraform state file, a lock table, and IAM user credentials that Terraform will require to provision the resources. I say "generally speaking" because you can get away with the … Continue reading Create Terraform pre-requisites for AWS using AWS CLI in 3 easy steps

Create Terraform pre-requisites for Azure using Azure CLI in 3 easy steps

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

How I prepared for and passed Azure Administrator Associate certification [AZ-104]

Recently[January 2021], I appeared in Microsoft's Azure Administrator certification exam and cleared that. In this post, I list the approach I followed to achieve that. I hope it benefits you too. First and foremost, the exam page at docs.microsoft.com is the source of truth. Microsoft keeps updating the skills measured from time to time, so … Continue reading How I prepared for and passed Azure Administrator Associate certification [AZ-104]

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 small 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 AWS S3

In my previous note, [Azure DevOps and Terraform to provision AWS S3], I listed in detail the steps to be followed to provision an 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, although … Continue reading Azure Pipelines (YAML) and Terraform to provision AWS S3