DigitalOcean Managed Database
Managed PG/MySQL/Valkey cluster with firewall trust list, users, DBs, and replicas.
Verification
Plan-validatedPassed: module logic verified on a mocked plan - inputs, validation rules, conditional creation and outputs resolve (no real provider, no cloud).
Conformance
- Static validation (fmt · validate · tflint)
- No applicable security policies for this provider
- Plan tests (mocked: validation rules · outputs)
Provenance
- SHA-256 checksum
- Cosign signature
Functional
- Live test pending (no cloud run yet)
Last verified 2026-06-28 · how we verify
Verify this download
cosign · sha-256Don't take our word for it. Every release is signed with cosign - check the bytes against our pinned public key before you trust them.
# 1. Our pinned public key - fetch once, trust out-of-band
curl -O https://www.iac-bazaar.com/cosign.pub
# 2. This module's Sigstore bundle
curl -o do-managed-database-1.0.0.sigstore.json \
https://www.iac-bazaar.com/api/artifacts/do-managed-database/signature
# 3. Verify the tarball you downloaded
cosign verify-blob \
--key cosign.pub \
--bundle do-managed-database-1.0.0.sigstore.json \
do-managed-database-1.0.0.tar.gz
# → Verified OK
# 4. (optional) confirm the checksum too
echo "13337bdb6a90d3074bccec70c15a32f2dd57990ff05724846d8944641b749ddd do-managed-database-1.0.0.tar.gz" | sha256sum -cUse it from the registry
terraform · opentofumodule "managed_database" {
source = "www.iac-bazaar.com/iac-bazaar/do-managed-database/digitalocean"
version = "1.0.0"
}Paid module — needs a purchase (or a subscription that covers it) plus a registry token from /account/tokens. Full setup: registry docs.
Inputs & outputs
Create a free account to read this module's contract
The declared contract — every input name, type, default and description, plus every output — is shown to signed-in accounts, not to anonymous visitors.
A free account sees the contract of every Free module. This one is Premium, so its contract unlocks when you buy it.
Documentation
do-managed-database
Managed PG/MySQL/Valkey cluster with firewall trust list, users, DBs, and
replicas. One module call provisions the cluster (single-node to 3-node HA),
locks inbound access to an explicit trust list, creates additional users and
logical databases, and stamps out read replicas — with engine-conditional
arguments (sql_mode, eviction_policy) wired automatically so a single
interface covers all three engines. Works with Terraform and OpenTofu
(>= 1.6), DigitalOcean provider >= 2.0, < 3.0.
Opinionated defaults:
- Explicit weekly maintenance window (Sunday 04:00 UTC)
- Engine-conditional preconditions fail fast at plan time (users/DBs/replicas on Valkey are rejected before any API call)
- Credentials only leave the module through
sensitiveoutputs
Requirements
- Terraform or OpenTofu
>= 1.6 digitalocean/digitaloceanprovider>= 2.0, < 3.0(thevalkeyengine needs a recent 2.x — latest recommended)
License
Commercial — IaC Bazaar EULA. © IaC Bazaar. Original work (not derived from a third-party module).
Usage code & full reference unlock after purchase
The complete copy-paste usage, the full input/output reference, and operational notes ship with your licence - shown here and bundled in the download.
- Usage
- Inputs
- Outputs
- Notes
Related modules
AlloyDB for PostgreSQL Cluster
AlloyDB cluster with primary + read-pool instances, PSC connectivity, automated backups and columnar/vector engine flags.
Aurora Cluster (Serverless v2 ready)
Aurora PostgreSQL/MySQL cluster with instances, parameter groups, Serverless v2 scaling, and enhanced monitoring.
Autonomous Database (Serverless)
ATP/ADW/JSON/APEX autonomous database with private endpoint, mTLS wallet output, ACLs, auto-scaling and backup config.
Azure Cosmos DB Account
Cosmos DB (NoSQL or MongoDB API) with multi-region failover, autoscale throughput, private endpoint and backup policy.
Azure SQL Database
Logical SQL server + database with Entra-only auth, firewall/private endpoint, auditing, TDE and failover-group option.
Base Database Service (DBCS VM)
Oracle Database VM system with DB home, TDE via Vault, automated backups and optional Data Guard standby.