How to create resource conditionally in terraform

In this cloud era, every other resources existence is dependent on another resource. Which is nothing but conditional existence. In this blog, we will discuss about the same, How to create resource conditionally in terraform using conditional expressions. We will discuss about the same by going through examples with two different use cases. Firstly using… Continue reading How to create resource conditionally in terraform

How to iterate over terraform resources with count

Imagine you have to create a 100 files on you remote server or let’s say you need to create 30 virtual machines as part of your infrastructure setup. If you want to accomplish this task via terraform, you should learn COUNT and this is a must read blog for you. Terraform created a design pattern… Continue reading How to iterate over terraform resources with count