Please read about variable blocks and variable types before proceeding with this blog. When it comes to providing values to variables, you may do it in the following methods, which we will go over in detail in this article. Defaults pass through console environment variables variable flags variable files Defaults These are the values you… Continue reading How to pass inputs to terraform variables
Tag: advanced
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