Files
terraform-provider-dokploy/.agents/skills/terraform-policy/examples/conversion/elasticache-redis-replication-group-encryption-at-transit-enabled
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

ElastiCache Redis Replication Group Encryption at Transit Enabled

Source Sentinel Policy

elasticache-redis-replication-group-encryption-at-transit-enabled.sentinel

Conversion Quality

Perfect

Why it converts well

This is a direct boolean check on a single planned resource type. The Sentinel logic checks whether transit_encryption_enabled is true on aws_elasticache_replication_group, and tfpolicy can express the same rule directly.

Key translation notes

  • maps.get(res, "values.transit_encryption_enabled", ...) becomes core::try(attrs.transit_encryption_enabled, false)
  • No resource graph traversal, config metadata, or cross-resource matching is required

Limitations encountered

No significant tfpolicy limitation blocks this conversion.