本文へスキップ
Kitbay
スキル公式active

terraform-policy

MPL-2.02026年11月4日 更新925GitHubスター

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.

スキルの内容

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.

できること

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