terraform

officialscriptablecontainers / infra
$ brew tap hashicorp/tap && brew install hashicorp/tap/terraform
Summary

Infrastructure as code, plans, and provisioning from the terminal.

  • terraform fits infra well, especially for infrastructure as code, plans, and provisioning from the terminal.
  • It is the official CLI from HashiCorp.
  • Good for scripts and agents.
  • Good fit for coding-agent workflows and repeatable scripts.
  • Structured output is available for automation and parsing.
infra-terraform-SKILL.md

Terraform guide

The official CLI from HashiCorp. Infrastructure as code, plans, and provisioning from the terminal. Start with `terraform init` and go from there. Supports structured output — good for scripts and agents.

Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.

When to apply

  • infrastructure as code, plans, and provisioning from the terminal.
  • You're on HashiCorp and want the official terminal experience.
  • You need infrastructure as code.
  • You need plans.
  • You need provisioning.

Quick reference

Installbrew tap hashicorp/tap && brew install hashicorp/tap/terraform
Verifyterraform version
First real commandterraform init && terraform plan

Open CLI × skills.sh

Open CLI integrates terraform with the right skills.sh companions so you get the tool and the workflow together.

Deployment Automation

Recommended pairing

Open CLI recommends this skills.sh skill because it fits containers / infra workflows. Safer deployment routines with approvals, checks, and repeatable steps.

View on skills.sh
$ npx skills add https://github.com/supercent-io/skills-template --skill deployment-automation
Starter prompt

Use terraform together with the Deployment Automation skills.sh skill. Inspect the current project, verify prerequisites, and suggest the safest next deployment step before changing anything.

Why this tool

  • terraform fits infra well, especially for infrastructure as code, plans, and provisioning from the terminal.
  • It is the official CLI from HashiCorp.
  • Good for scripts and agents.

Watch-outs

  • Needs network access.
  • Start with read-only or dry-run commands.

Example workflow

1. terraform init
2. terraform plan
3. terraform apply

Safe start

Step 1

Install terraform.

Step 2

Run `terraform version` first.

Step 3

Start with `terraform init && terraform plan`.

Step 4

Install the infra CLI and verify kubeconfig, Docker context, or cloud credentials.

Alternatives worth considering