IaC Bazaar
Oracle CloudPlan-validated

Base Database Service (DBCS VM)

Oracle Database VM system with DB home, TDE via Vault, automated backups and optional Data Guard standby.

terraformOracle Cloud#oci

Compare Managed Relational Database across clouds →

oci-base-databaseterraform v1.7

Verification

Plan-validated

Passed: 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)
  • Security scan: findings disclosed (Checkov)
  • Plan tests (mocked: validation rules · outputs)

Provenance

Functional

  • Live test pending (no cloud run yet)

Last verified 2026-06-28 · how we verify

Verify this download

cosign · sha-256

Don'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 oci-base-database-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/oci-base-database/signature

# 3. Verify the tarball you downloaded
cosign verify-blob \
  --key cosign.pub \
  --bundle oci-base-database-1.0.0.sigstore.json \
  oci-base-database-1.0.0.tar.gz
# → Verified OK

# 4. (optional) confirm the checksum too
echo "15a45f05d251fb0f5bff9c624788a21142ec51164a39ea5cd335ce988ab6f1f0  oci-base-database-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "base_database" {
  source  = "www.iac-bazaar.com/iac-bazaar/oci-base-database/oci"
  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

oci-base-database

Status: static-validated, live-test pending. Ships under live-test quarantine — no OCI cloud sandbox is wired into CI yet, so the live apply → verify → destroy gate has not run (and a real DBCS apply costs money and takes 60-90 minutes). Static validation (fmt, validate, tflint) passes.

Oracle Base Database Service (DBCS) on a VM DB system: a VCN-private Oracle Database with an inline primary DB home, TDE (Oracle- or customer-managed via OCI Vault), HIGH disk redundancy, managed automatic backups, an optional second DB home, and an optional Data Guard standby. Works with Terraform and OpenTofu (>= 1.6), OCI provider >= 8.0, < 9.0.

Secure defaults

  • VCN-private: no public IP. Prefer NSGs (nsg_ids) for a deny-by-default data plane; OS access is SSH-key only (ssh_public_keys, at least one required).
  • TDE always on: Oracle-managed by default, or a customer-managed Vault key (kms_key_id + vault_id, enforced to be set together).
  • HIGH disk redundancy (triple-mirror) by default.
  • Managed automatic backups on with a 30-day recovery window.
  • Enterprise edition + ASM by default so Data Guard works out of the box; preconditions reject a Data Guard request on Standard edition or LVM storage.
  • BYOL license model by default (no surprise license-included charges).

Requirements

  • Terraform or OpenTofu >= 1.6
  • Provider oracle/oci >= 8.0, < 9.0

License

Commercial — LicenseRef-IaCBazaar-Commercial. © 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