terraform

CLI

Infrastructure as Code tool for provisioning cloud resources.

Declare and provision cloud infrastructure across AWS, GCP, Azure

6 curated recipes · not yet executed by the harness#iac#cloud#aws#gcp#azure

Recipes

Curated from documentation and usage. Percentages are estimates, not measurements.

Initialize a Terraform project

~98% est.
terraform init

Preview infrastructure changes

~97% est.
terraform plan

Apply infrastructure changes

~94% est.
terraform plan -out=tfplan && terraform apply tfplan
Common failures (2)
  • resources changed that you did not intendRead the plan output above the apply line; terraform apply -auto-approve skips that review entirely
  • Error: credential not foundConfigure cloud provider credentials via env vars or config files

Preview what a destroy would remove

~97% est.
terraform plan -destroy

Destroy all resources

~95% est.
terraform destroy -auto-approve
Common failures (1)
  • destroyed something you still neededThere is no undo — run terraform plan -destroy first and read the list

Destroy all resources, approving at the prompt

~95% est.
terraform destroy

Install

Homebrewbrew install terraform

Agent notes

When to use
Provisioning or managing cloud resources with repeatable config

Use from an agent

curl -s https://clihub.com/api/tools/terraform | jq '.agentHints.provenRecipes[] | {task, command, verified}'

Or call get_tool with slug terraform on the MCP server at https://clihub.com/mcp.

Homepage ↗Repository ↗BUSL-1.11 views