शब्दकोश · क्लाउड और होस्टिंग

Terraform

Terraform is an open infrastructure as code tool from HashiCorp that provisions cloud resources from declarative configuration files and tracks them in state.

अपडेट: अक्टूबर 6, 2026

Terraform is an infrastructure as code tool created by HashiCorp. You describe the resources you want in declarative configuration files written in HCL, and Terraform plans and applies the changes needed to make real infrastructure match them, using provider plugins for AWS, Azure, Google Cloud, Cloudflare and many other services.

Why it matters

Terraform gives teams a repeatable, reviewable way to build infrastructure across several providers with one workflow. The plan step previews what will be created, changed or destroyed before anything happens. Its state file records which real resources map to which configuration, which is how it knows what to update next time.

Example

terraform init
terraform plan
terraform apply

A plan might report Plan: 2 to add, 1 to change, 1 to destroy. Reading the destroy count carefully before approving is a core habit.

Common mistakes

  • Keeping state only on one laptop. Use a shared remote backend with locking so two people cannot apply at once.
  • Storing secrets in plain text in state or code; state can contain sensitive values.
  • Running apply without reading the plan.
  • Editing resources manually and then being surprised when the next apply reverts them.
  • Not pinning provider versions, so an upgrade changes behavior unexpectedly.

Get notified when this term updates

Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.

यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.