IaC Bazaar
Oracle CloudPlan-validated

DRG Hub & Spoke Connectivity

Dynamic Routing Gateway with VCN attachments, custom DRG route tables, remote peering and IPSec/FastConnect attach points.

terraformOracle Cloud#oci
oci-drg-hubterraform 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 clean (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-drg-hub-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/oci-drg-hub/signature

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

# 4. (optional) confirm the checksum too
echo "5375d630e5873c4efec805c2fb44d4c755598367588479cc372079fc1e649926  oci-drg-hub-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "drg_hub" {
  source  = "www.iac-bazaar.com/iac-bazaar/oci-drg-hub/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 Professional, so its contract unlocks when you buy it.

Documentation

oci-drg-hub

Status: static-validated, live-test pending. This module ships under live-test quarantine — it passes tofu fmt, tofu validate and tflint, but a real apply → verify → destroy has not yet run (no OCI cloud sandbox available). Promotion to a full live-tested artifact follows when a sandbox exists.

Dynamic Routing Gateway as a hub-and-spoke connectivity fabric: one DRG with VCN spoke attachments, custom DRG route tables, route distributions, optional remote peering (cross-region / cross-tenancy), and Site-to-Site VPN (IPSec) attach points to on-prem CPE devices. Works with Terraform and OpenTofu (>= 1.6), OCI provider >= 8.0, < 9.0.

Secure / deliberate defaults:

  • VCN attachments bind to an explicit custom DRG route table when one is named, so transit routing is intentional rather than the auto-generated default.
  • IPSec connections require static_routes (the on-prem prefixes) — no wildcard transit is implied; you advertise exactly what you mean to.
  • Remote Peering Connections are created un-peered; you peer them deliberately (peering is a cross-tenancy trust decision, not a default).
  • The DRG and its attachments create no public exposure; the DRG itself is free.

Requirements

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

License

Commercial — LicenseRef-IaCBazaar-Commercial.

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