Files
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
..
2026-08-09 12:17:26 +03:00

DMS Endpoint SSL Mode

Source Sentinel Policy

dms-endpoints-should-use-ssl.sentinel

Conversion Quality

Perfect

Why it converts well

This policy is a straightforward single-resource attribute check. The Sentinel version iterates over aws_dms_endpoint resources and rejects any resource whose ssl_mode is not in an allowlist. tfpolicy can express the same intent directly with one resource_policy, one allowlist, and one enforce block.

Key translation notes

  • Sentinel collection.reject() becomes one positive condition
  • maps.get(res, "values.ssl_mode", null) becomes core::try(attrs.ssl_mode, "")
  • No cross-resource logic, state inspection, or reference metadata is involved

Limitations encountered

No significant tfpolicy limitation blocks this conversion.