Can AI agents automate HashiCorp Terraform?
HashiCorp · hybrid · developer-toolsplatformenterprise
HashiCorp Terraform is automatable today through the official CLI. Agents run init, validate, plan, apply, destroy, import, and login on Windows, macOS, and Linux. That is the complete documented production path for infrastructure as code. The official Terraform MCP server adds current public Registry documentation and HCP Terraform or Terraform Enterprise workspace, run, and variable tools over stdio or streamable HTTP. Write and destroy tools stay off until ENABLE_TF_OPERATIONS is set and a TFE token is present. The HCP Terraform API is a documented JSON:API with Bearer user, team, organization, and audit-trails tokens and official Go and Python clients, but HashiCorp states it covers a subset of product features. Organization tokens cannot plan or apply. Terraform 1.6 and later use Business Source License 1.1, not an OSI open-source license. Zapier, Make, Microsoft Power Automate, and n8n had no native Terraform connector on 2026-08-30. HCP notification configurations cover generic HTTP, Slack, and Teams. Pulumi, Ansible, and cloud consoles are outside this record. Computer-use viability is unassessed. CLI scores 9 and is the best path.
Best path today: cli · Overall automatability: 9/10
Modalities
| Modality | Status | Detail |
|---|---|---|
| API | yes | json-apiresttfe-user-tokentfe-team-tokentfe-organization-tokentfe-audit-trails-token coverage: partial · docs |
| SDK | yes | gopython official: yes |
| MCP | yes | verdict: official |
| Integrations | no | |
| CLI | yes | |
| Extensibility | yes | hcl webhooks: True |
| Data access | export: state, plan-json · import: terraform-import | |
| RPA / UI automation | unknown | web-dom No repeatable UI probe was run. The Terraform CLI, HCP Terraform API, and official MCP server cover plan, apply, and workspace operations without browser control.
|
| Computer use | unknown | measured verdicts only — "unknown" means not yet probed by us |
Scores
| api | mcp | integrations | cli | rpa | computer use | overall |
|---|---|---|---|---|---|---|
| 7 | 8 | 0 | 9 | — | — | 9 |
Evidence
| Fact | Tier | Source | Date |
|---|---|---|---|
homepage | declared | source | 2026-08-30 |
deployment | declared | source | 2026-08-30 |
license | declared | source | 2026-08-30 |
platforms | declared | source | 2026-08-30 |
modalities.api.exists | declared | source | 2026-08-30 |
modalities.api.kinds[0] | declared | source | 2026-08-30 |
modalities.api.kinds[1] | declared | source | 2026-08-30 |
modalities.api.auth[0] | declared | source | 2026-08-30 |
modalities.api.auth[1] | declared | source | 2026-08-30 |
modalities.api.auth[2] | declared | source | 2026-08-30 |
modalities.api.auth[3] | declared | source | 2026-08-30 |
modalities.api.coverage | declared | source | 2026-08-30 |
modalities.sdk.exists | declared | source | 2026-08-30 |
modalities.sdk.languages[1] | declared | source | 2026-08-30 |
modalities.mcp.first_party | declared | source | 2026-08-30 |
modalities.cli.exists | declared | source | 2026-08-30 |
modalities.extensibility.scripting[0] | declared | source | 2026-08-30 |
modalities.extensibility.webhooks | declared | source | 2026-08-30 |
modalities.data_access.export[0] | declared | source | 2026-08-30 |
modalities.data_access.import[0] | declared | source | 2026-08-30 |
modalities.agent_docs.llms_txt | scraped | source | 2026-08-30 |
modalities.integrations.zapier | scraped | source | 2026-08-30 |
modalities.integrations.make | scraped | source | 2026-08-30 |
modalities.integrations.power_automate | scraped | source | 2026-08-30 |
modalities.integrations.n8n | scraped | source | 2026-08-30 |
verdict.scores.api | declared | source | 2026-08-30 |
verdict.scores.mcp | declared | source | 2026-08-30 |
verdict.scores.cli | declared | source | 2026-08-30 |
verdict.scores.integrations | scraped | source | 2026-08-30 |
freshness.watch[0].url | declared | source | 2026-08-30 |
freshness.watch[1].url | declared | source | 2026-08-30 |
freshness.watch[2].url | declared | source | 2026-08-30 |
freshness.watch[3].url | declared | source | 2026-08-30 |
Related tools
Other products in this database that share a category with HashiCorp Terraform.
Last verified 2026-08-30 · volatility high · JSON record