IaC Bazaar
DigitalOceanStatic-verified

DigitalOcean DOKS Cluster

Production DOKS with node pools, VPC, registry hookup, and maintenance windows in one apply.

terraformAlt & Specialty Clouds#digitalocean

Compare Managed Kubernetes across clouds →

do-doks-clusterterraform v1.7

Verification

Static-verified

Passed: validated and lint-clean (provider-schema-validated for AWS/Azure/GCP; Terraform-language lint elsewhere).

Conformance

  • Static validation (fmt · validate · tflint)
  • No applicable security policies for this provider
  • 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 do-doks-cluster-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/do-doks-cluster/signature

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

# 4. (optional) confirm the checksum too
echo "e83d21fd5fec66937fb86db8d8abcc79f71a0719e81a9fe6c5ff03bad0fae0c0  do-doks-cluster-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "doks_cluster" {
  source  = "www.iac-bazaar.com/iac-bazaar/do-doks-cluster/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-doks-cluster

Production DOKS with node pools, VPC, registry hookup, and maintenance windows in one apply. The module provisions a dedicated VPC, a DOKS cluster with an autoscaling default pool, any number of additional (optionally tainted) pools, surge upgrades pinned to an explicit maintenance window, and — when you name your container registry — automatic in-cluster pull integration plus CI docker credentials. Works with Terraform and OpenTofu (>= 1.6), DigitalOcean provider >= 2.29, < 3.0.

Opinionated defaults:

  • Dedicated VPC per cluster (never the region default VPC)
  • Newest non-deprecated DOKS version resolved at plan time (pin with kubernetes_version, or track a minor line with kubernetes_version_prefix)
  • auto_upgrade + surge_upgrade on, constrained to a Sunday 04:00 UTC window
  • Autoscaling default pool (1–3 × s-2vcpu-4gb)
  • Registry credentials are read-only unless you opt in to write

Requirements

  • Terraform or OpenTofu >= 1.6
  • digitalocean/digitalocean provider >= 2.29, < 3.0 (the 2.29 floor is binding: destroy_all_associated_resources is set unconditionally and was added in 2.29.0; cluster registry integration needs 2.28.0; latest 2.x 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