Skip to content
Abhinav Kumar Singh edited this page Apr 10, 2022 · 1 revision

Why Terraform Scripts are required?

Infrastructure as a code (IaaS) is requirement of nowadays because clients want fully automation for deployment means code along with infrastructure resources. We have so many cloud vendors but 3 cloud leading vendors are Azure, AWS and Google Cloud Platform (GCP). Each vendor has own template methodology to deploy resources in cloud, it means that we can't use template of one providers for other providers. Due to change in features provided by Cloud Vendors, Clients use to change their platform time to time. So, we need a platform what could fulfill this bottleneck and Terraform is the platform which helps to deploy resources in any Cloud platform.

How Terraform Scripts Works?

Terraform script works in 5 steps

  1. Init : Initialize Terraform script.
  2. Plan : Plan your script.
  3. Validate : Validate your script.
  4. Apply : Apply your script. Creates resources.
  5. Destroy : Deletion of resources.
Clone this wiki locally