A practical guide to using the zopdev/opentofu-modules sql/ module to provision production-ready databases (PostgreSQL and MySQL) across AWS RDS, GCP Cloud SQL, and Azure Database from a single consistent interface. The module handles ~50 resources across three clouds automatically, enforcing security defaults like encryption at rest, no public accessibility, cloud secret manager integration, CloudWatch/Cloud Logging, parameter group tuning, read replicas, storage auto-scaling, and Kubernetes ExternalName service discovery. Includes HCL examples for AWS and GCP, a comparison with Kubernetes operators, and guidance on when to use each approach.

Sort: