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.
This commit is contained in:
46
.agents/skills/terraform-policy/SKILL.md
Normal file
46
.agents/skills/terraform-policy/SKILL.md
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
name: terraform-policy
|
||||
description: "Write, test, or convert Terraform Policy files (.policy.hcl, .policytest.hcl, Sentinel→tfpolicy). Triggers: policy.hcl, policytest, convert sentinel, tfpolicy, write a policy."
|
||||
license: MPL-2.0
|
||||
metadata:
|
||||
copyright: Copyright IBM Corp. 2026
|
||||
version: "0.1.0"
|
||||
---
|
||||
|
||||
# terraform-policy
|
||||
|
||||
**UTILITY SKILL** — INVOKES: [tfpolicy-author](references/tfpolicy-author.md) | [tfpolicy-test](references/tfpolicy-test.md)
|
||||
|
||||
## USE FOR:
|
||||
|
||||
- Writing a new `.policy.hcl` policy from a description or requirement
|
||||
- Converting a `.sentinel` policy to Terraform Policy
|
||||
- Writing or debugging a `.policytest.hcl` test file
|
||||
- Migrating a Sentinel policy library to Terraform Policy
|
||||
|
||||
## DO NOT USE FOR:
|
||||
|
||||
- Writing `.tftest.hcl` files for Terraform modules — use `terraform-test`
|
||||
- General Terraform HCL authoring — use `terraform-style-guide`
|
||||
|
||||
## Routing
|
||||
|
||||
| Task | Sub-skill |
|
||||
|------|-----------|
|
||||
| Write or convert a `.policy.hcl` policy | [tfpolicy-author](references/tfpolicy-author.md) |
|
||||
| Write or debug a `.policytest.hcl` test | [tfpolicy-test](references/tfpolicy-test.md) |
|
||||
|
||||
## Examples
|
||||
|
||||
- "Block EC2 instances without encryption" → [tfpolicy-author](references/tfpolicy-author.md)
|
||||
- "Convert this Sentinel policy to tfpolicy" → [tfpolicy-author](references/tfpolicy-author.md)
|
||||
- "Write a policytest for my EBS policy" → [tfpolicy-test](references/tfpolicy-test.md)
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
- **Wrong skill triggered?** Load the sub-skill directly from the routing table above.
|
||||
|
||||
```bash
|
||||
npx skills add hashicorp/agent-skills/terraform/terraform-policy/skills/tfpolicy-author
|
||||
npx skills add hashicorp/agent-skills/terraform/terraform-policy/skills/tfpolicy-test
|
||||
```
|
||||
Reference in New Issue
Block a user