# Terraform > HashiCorp Terraform is an open-source infrastructure-as-code tool for defining, provisioning, and managing cloud infrastructure with a declarative language (HCL). HCP Terraform and Terraform Enterprise expose REST APIs for automating workspaces, runs, state, policies, teams, and the private module registry; the public Terraform Registry API serves module and provider discovery. This file was generated by API Evangelist from the catalog for terraform; it is not published by HashiCorp. When installing Terraform SDKs and tooling, verify the current version at the registry rather than relying on memorized version numbers: go-tfe at https://pkg.go.dev/github.com/hashicorp/go-tfe, CDKTF at https://www.npmjs.com/package/cdktf and https://pypi.org/project/cdktf/, and the Terraform CLI at https://developer.hashicorp.com/terraform/install. Never hardcode an old version. ## APIs - [HCP Terraform API](https://developer.hashicorp.com/terraform/cloud-docs/api-docs): Workspaces, runs, state versions, policies, teams, organizations, projects, variables. Base URL https://app.terraform.io/api/v2. JSON:API media type; bearer-token auth. - [Terraform Registry API](https://developer.hashicorp.com/terraform/registry/api-docs): Discover, list, version, and download public modules and providers. Base URL https://registry.terraform.io. ## Specs - [HCP Terraform OpenAPI](https://raw.githubusercontent.com/api-evangelist/terraform/refs/heads/main/openapi/hcp-terraform-openapi.yml) - [Terraform Registry OpenAPI](https://raw.githubusercontent.com/api-evangelist/terraform/refs/heads/main/openapi/terraform-registry-openapi.yml) ## Docs - [HCP Terraform API docs](https://developer.hashicorp.com/terraform/cloud-docs/api-docs) - [API stability policy](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/stability-policy) - [API changelog](https://developer.hashicorp.com/terraform/cloud-docs/api-docs/changelog) - [API tokens](https://developer.hashicorp.com/terraform/cloud-docs/users-teams-organizations/api-tokens) - [Terraform Registry API docs](https://developer.hashicorp.com/terraform/registry/api-docs) - [Terraform CLI install](https://developer.hashicorp.com/terraform/install) ## Agents - [Terraform MCP server](https://developer.hashicorp.com/terraform/mcp-server): Official open-source MCP server exposing Registry + HCP Terraform operations to AI agents (self-hosted; Docker image hashicorp/terraform-mcp-server). ## Tools - [go-tfe (Go SDK)](https://github.com/hashicorp/go-tfe) - [CDKTF (Cloud Development Kit)](https://developer.hashicorp.com/terraform/cdktf) — deprecated 2025-12-10 - [tfctl (HCP Terraform / TFE CLI)](https://www.hashicorp.com/blog/introducing-tfctl-the-cli-for-hcp-terraform-and-tfe) ## Trust - [HashiCorp Trust Center](https://www.hashicorp.com/trust) - [Security at HashiCorp](https://www.hashicorp.com/en/trust/security) — SOC 2 Type 2; ISO 27001/27017/27018 - [Vulnerability management](https://www.hashicorp.com/en/trust/security/vulnerability-management) — report to security@hashicorp.com - [Status page](https://status.hashicorp.com)