Terraform
Write, test, refactor and review Terraform with a coding agent, using HashiCorp's own skills and registry data, with a hard stop before anything touches real infrastructure.
npx @athenode/cli use terraformAdd it to a project from the Plugin library page of your Athenode app, or install it with the CLI.
- Skills
- 7
- Agents
- 0
- MCP servers
- 1
- Files
- 0
About
Start with a Terraform request ("write a module for…", "add tests", "split this configuration into modules", "import these existing resources") or /terraform-plan-review to check a plan for destructive and risky changes before applying it.
Third-party skills, imported unmodified from https://github.com/hashicorp/agent-skills (MPL-2.0; source at that address): terraform-style-guide, terraform-test, refactor-module, terraform-search-import, terraform-stacks, terraform-policy. The terraform-plan-review skill is written by Athenode.
MCP server: HashiCorp's Terraform MCP server (https://github.com/hashicorp/terraform-mcp-server, MPL-2.0) gives current provider, module and policy documentation from the Terraform Registry. It runs locally in Docker and needs no account for the public registry; HCP Terraform and Terraform Enterprise tools need your own token and are not configured here.
Prerequisites: the terraform CLI and Docker. Not affiliated with HashiCorp.
Skills
The skills your agent runs. Open one to read it in full.
refactor-moduleTransform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.terraform-plan-reviewUse when a Terraform plan should be reviewed before it is applied, for destroyed or replaced resources, security regressions, cost and drift.terraform-policyWrite, test, or convert Terraform Policy files (.policy.hcl, .policytest.hcl, Sentinel→tfpolicy). Triggers: policy.hcl, policytest, convert sentinel, tfpolicy, write a policy.terraform-search-importDiscover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.terraform-stacksComprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.terraform-style-guideGenerate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.terraform-testComprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.
MCP servers
Their configuration is installed with the plugin and is not shown on this page.
terraform
Add Terraform to your project.
Installs this plugin into the current directory for the coding agents you choose. No account or token needed.
npx @athenode/cli use terraform