Member-only story

Terraform Variables:

Rupam Jha
7 min readApr 30, 2023

This is targeted to the audience who are new to terraform and are keen on understanding variables’ working in depth. So quickly we will go through what is Terraform[ for those who are not aware of it ] ? Terraform as its known : “Infrastructure as a code~ IaC” is a tool that helps us build our infrastructure in a form of a code. It allows you to automate and manage your infrastructure, your platform and your services that run on that platform. It is an open source tool and follows a declarative approach, which means you define WHAT you want (i.e. the desired “end state”) rather then describing HOW to do it. It allows infrastructure to be managed in the same way as software, with version control, testing, and collaboration. This increases efficiency, reduces errors, and enables more frequent and reliable deployments. Additionally, Terraform makes it easy to automate the provisioning and management of resources across multiple providers, making it a powerful tool for multi-cloud and hybrid environments.

So what is Terraform used for : The primary purpose of IaC is to make infrastructure management more efficient, reliable, and consistent. However, it holds two use cases one being , where we use it for creating or provision new infrastructure and for managing existing infrastructure and second being , where we can use it to replicate infrastructure.

Moving ahead with understanding the Terraform architecture; which comprises of two components : core and provider. Terraform core works on taking in two inputs, the config files (desired state) and the…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Rupam Jha
Rupam Jha

Written by Rupam Jha

Senior DevOps Engineer. Automation Enthusiast. Sharing my experiences on AWS, CI/CD, Docker, Kubernetes, and IaC.

No responses yet

Write a response