
Working on a cloud platform always sounds interesting but what if you have some framework where you can automate your cloud infrastructure. In this article, we are going to see How to set up your first Virtual Machine on Google Cloud The platform using Terraform This article is aimed at the beginner who is just …
Read More
In programming world we have concept of variables, similar to that in Terraform we also have concept of Terraform Locals. What is Terraform locals? Here is an very basic example code which show - "How to create locals in Terraform?" 1## Example of local with static value 2 3locals { 4 my_local = …
Read More
Terraform is the most popular IaC(Infrastructure as Code) tool for provisioning your cloud infrastructure on AWS, GCP and Azure. Terraform capabilities are not limited to cloud infrastructure instead you can use Terraform for other container infrastructure provisioning also. In this blog post, we will take a look at …
Read More
The Terraform's module tls_private_key can help you to generate the TLS Private key. Here is what happens when you use Terraform's tls_private_key module - At first you generate RSA or ECDAS private key. After generating the private key we need to encode the private key as PEM file. After that tls_private_key module …
Read More
It might be possible that you are in the middle of running terraform plan or terraform apply command but unfortunately, you ended up with the error - Error locking state: Error acquiring the state lock: ConditionalCheckFailedException: The conditional request failed. Here is one of the same errors which I have faced …
Read More
In this blog post, we are gonna talk about Terraform templates. If you have ever needed to generate a cloud-init script, a JSON IAM policy, an nginx config or a Kubernetes manifest from your Terraform variables, then a Terraform template is the tool for the job. We are gonna cover the following topics for Terraform …
Read More
Terragrunt is an additional wrapper that is built on top of the Terraform. Terraform is a great Infrastructure as Code tool for managing your cloud infrastructure. But as the project size grows and you have multiple environments (Development, Testing, Staging, Production, etc..) to manage then you will realize …
Read More
This article is focused on how to use AWS multiple account setup with Terraform. Terraform is a great tool for provisioning your cloud infrastructure but as you start using Terraform for managing your cloud infrastructure you will always feel a need for multiple AWS accounts that can cater to some specific environment …
Read More
If you are new to terraform or maybe you have been using the terraform for quite some time then might have felt the need to manage your AWS Credentials inside your terraform file. In this blog we will go through the different ways to set up your AWS Credentials so that you do not have to re-configure the AWS …
Read More
I had an issue while I was trying to setup Remote S3 bucket for storing Terraform state file. The issue faced is error configuring S3 Backend no valid credential sources for S3 Backend found. After spending some time on my local terraform setup and AWS CLI configuration I realised that my AWS CLI was using incorrect …
Read More