hashicorp/setup-terraform
Sets up Terraform CLI in your GitHub Actions workflow. observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 94
- Release rhythm 71
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 77
- age_days: 2323
- days_rel: 113
- days_push: 37
- n_releases_24m: 2
Adoption not part of the score
1583 stars · 287 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A GitHub Actions JavaScript action that installs a specified version of the Terraform CLI onto the workflow runner and adds it to PATH. It can also configure HCP Terraform/Terraform Enterprise credentials and install a wrapper that exposes terraform stdout, stderr, and exit codes as step outputs.
Use cases
- install terraform cli in github actions workflow
- pin a specific terraform version in ci
- run terraform plan and apply on pull requests
- configure terraform cloud api token in ci
- capture terraform command output in workflow steps
- automate infrastructure provisioning with github actions
When to choose
- you use GitHub Actions and need Terraform CLI available in your workflow
- you want automatic credential setup for HCP Terraform or Terraform Enterprise
- you need terraform command outputs (stdout/stderr/exitcode) as workflow step outputs
When to avoid
- you use GitLab CI, Jenkins, or another CI system instead of GitHub Actions
- you need to install OpenTofu or other Terraform forks
- you run on self-hosted runners without Node.js installed
Facets
plugin · maturity active
infrastructure-as-code ci-cd developer-tools cli infrastructure-as-code cloud-computing windows cloud github-actions terraform terraform-cli action hashicorp workflow-automation devops automation linux macos docker
8 sources
- readme: https://github.com/hashicorp/setup-terraform · fetched 2026-08-28 · 21cd54511218
- homepage: https://developer.hashicorp.com/terraform/tutorials/automation/github-actions · fetched 2026-08-29 · 031eb38e153c
- site_page: https://developer.hashicorp.com/hcp/docs/vault-radar · fetched 2026-08-29 · 558d122b761a
- site_page: https://developer.hashicorp.com/terraform/install · fetched 2026-08-29 · 2e6ce87f11c9
- site_page: https://developer.hashicorp.com/terraform/docs · fetched 2026-08-29 · a0492af58be8
- site_page: https://developer.hashicorp.com/terraform/cloud-docs · fetched 2026-08-29 · c59a9bc4e2d7
- site_page: https://developer.hashicorp.com/terraform/docs/partnerships · fetched 2026-08-29 · 4853be8a2afc
- site_page: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/configuration-versions · fetched 2026-08-29 · 27f700d855e2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hashicorp/setup-terraform | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="hashicorp/setup-terraform")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem