Skip to content
T

terraform-policy

Write, test, or convert Terraform Policy files

by hashicorpFree

#9015in AI Skills
0In stores

Description

terraform-policy is an agent skill from HashiCorp for writing, testing and converting Terraform Policy files. It covers four tasks: writing…

Highlights

  • Write .policy.hcl policies from requirements
  • Convert Sentinel policies to Terraform Policy
  • Write and debug .policytest.hcl tests
  • Adapts to tfpolicy CLI 0.2.x or 0.3.x

Ratings & Reviews

No ratings yet

Be the first to rate terraform-policy.

People also visit

T

terraform-style-guide

Generate Terraform HCL code following HashiCorp's official style conventions

AI Skills
Get
T

terraform-engineer

Implementing infrastructure as code with Terraform across AWS, Azure, or GCP

AI Skills
Get
P

provider-docs

Create, update, and review Terraform provider documentation

AI Skills
Get
N

nwiizo/tfmcp

Manage Terraform environments: read configurations, analyze plans

AI Skills
Get
T

terragrunt-generator

Generate/create/scaffold Terragrunt HCL files

AI Skills
Get
T

terraform-code-generation

Terraform code generation skills including HCL generation, style guides

AI Skills
Get

terraform-policy FAQ

What does this skill do?

It helps the agent write new Terraform Policy files, convert Sentinel policies, and write or debug policy test files.

Which tfpolicy versions are covered?

The two most recent minor lines, 0.2.x and 0.3.x. The agent checks your installed CLI version first and tailors its guidance.

Can it migrate an existing Sentinel library?

Yes. Migrating a Sentinel policy library to Terraform Policy is one of the listed uses.

How do I install it?

Run npx skills add https://github.com/hashicorp/agent-skills --skill terraform-policy.

What are the best terraform-policy alternatives?

Popular alternatives to terraform-policy include terraform-style-guide, terraform-engineer and provider-docs. See all terraform-policy alternatives

Developer Stuff

Badges