
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
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. 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
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 Due to …
Read More
In this blog post we are gonna talk about one of the most basic command of linux which is grep, also we are going to see the 15 different examples on "How to use grep?". It doesn't matter you are an experienced developer or you are just a beginner out of these 15 examples you're just gonna learn something …
Read More
Websites differ in the type of content they offer. The content can be divided into two categories, static and dynamic. A website built on static content consists of - HTML files Images Javascript CSS And it does not change based on user interaction. No matter how many times a user visits a static website, the content …
Read More
When developers are working to containerize an application, there are several steps involved. Getting the source code ready is merely half the job done. To package it in a container and get it into a runnable state, a developer will need to build a Dockerfile, which will contain all the necessary packages, runtimes, …
Read More