Zum Inhalt springen
Kitbay
SkillOffiziellactive

terraform-policy

MPL-2.0Aktualisiert am 4. Nov. 2026925GitHub-Sterne

HashiCorp's skill for Terraform Policy, the policy-as-code format written in .policy.hcl files and tested with .policytest.hcl files using the tfpolicy CLI.

Was der Skill vermittelt

HashiCorp's skill for Terraform Policy, the policy-as-code format written in .policy.hcl files and tested with .policytest.hcl files using the tfpolicy CLI. It helps an agent write new policies from a requirement, convert existing Sentinel policies or whole libraries to the new format, and write or debug policy tests with mock resources. Before advising, the agent checks the installed tfpolicy version, because the guidance differs between the 0.4 and 0.5 release lines. Detailed authoring and testing rules sit in two reference files, alongside example policies.

Funktionen

  • Write Terraform Policy files
  • Convert Sentinel policies to Terraform Policy
  • Write and debug policy tests
  • Tailor guidance to the installed tfpolicy version