
Terraform null_resource is one of the features which is underused by the DevOps professional. When I looked at Terraform's documentation for null_resource I felt they have not put much effort into explaining null_resource in more detail. But when I tried the null_resource by myself I really felt to use it more often …
Read More
In a Terraform project there are situations where a Developer feels a need to pre-check if the resource exists or not and many times I also wondered if is it possible to check the existence of the resource to avoid the duplicity of the resource. In this blog, we are gonna see - Why it is not possible to decide …
Read More
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 23locals { 4my_local = …
Read More
This is a short troubleshooting blog post on how to fix the following error when performing the aws ecr get-login-password --region <region-name> | docker login - Here is a little brief about the error - Error saving credentials: error storing credentials - err: exit status 1, out: Post …
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 we are just gonna cover the six topics for Terraform template - What is Terraform template and what's the importance of Terraform template What is the extension by which you can save your Terraform template Project structure and Terraform template location …
Read More
The error x509: certificate signed by unknown authority is a very common problem faced by developers. terraform x509: certificate signed by unknown authority There are many reasons behind this issue - self-signed certificate not issued by a trusted certificate authority (CA) Expiration of the current certificate …
Read More