Dedicated PgBouncers manageable via Terraform
The PlanetScale Terraform provider v1.5.0 adds planetscale_postgres_bouncer, a Postgres-only resource for managing dedicated PgBouncers. You can set the bouncer's size, target (primary, replica, or replica_az_affinity), replica count, and PgBouncer parameter overrides, and Terraform will detect drift if any of those change outside your configuration.
Data sources for reading existing bouncers, planetscale_postgres_bouncer and planetscale_postgres_bouncers, are also available.
Fetched July 18, 2026


