Files
terraform-provider-dokploy/.agents/skills/terraform-policy/README.md
Max Vojtkov a6d8aa8b52 A Terraform provider for Dokploy
Plugin-framework provider covering projects, environments, applications,
Compose stacks, managed databases, domains, mounts, ports, redirects,
basic auth, registries, SSH keys, certificates and backup destinations,
over Dokploy's tRPC-over-REST API.

The shim package exposes the provider to other Go modules, which is how
pulumi-dokploy bridges it.
2026-08-09 12:17:26 +03:00

1.7 KiB

Terraform Policy Agent Skills

A family of focused agent skills for working with Terraform Policy — HCP Terraform's native policy-as-code engine for .policy.hcl and .policytest.hcl files.

Routing

Pick the skill that matches the user's journey:

Journey Reference
Write a new Terraform Policy from an English description tfpolicy-author
Translate Sentinel (or adjacent OPA/Rego) to Terraform Policy tfpolicy-author
Write or debug a .policytest.hcl test, mock resources, reason about the runner tfpolicy-test

Repository layout

terraform-policy/
├── SKILL.md                        # Router — routes to references below
├── references/
│   ├── tfpolicy-author.md          # Authoring + Sentinel conversion (v0.2.0)
│   ├── tfpolicy-test.md            # Testing + full testing guide
│   └── verified-syntax.md         # Shared source-of-truth syntax reference
├── examples/
│   └── conversion/                 # Side-by-side .sentinel / .policy.hcl examples
└── evals/
    ├── eval.yaml
    └── tasks/

Shared reference

references/verified-syntax.md is the single source of truth for verified Terraform Policy syntax, function names, and runtime limitations. All reference files link to it rather than duplicating facts — when reference content disagrees with this file, the reference wins.

Versioning

Each reference is versioned independently via its metadata.version field.

License

MPL-2.0. Copyright IBM Corp. 2026.