Pular para o conteúdo
Kitbay
SkillOficialactive

terraform-policy

MPL-2.0Atualizado em 4 de nov. de 2026925Estrelas no GitHub

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.

O que a skill ensina

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.

O que faz

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