IaC Bazaar
CivoStatic-verified

Civo Compute Stack

Instances with network, firewall, volume, and reserved IP.

terraformAlt & Specialty Clouds#civo

Compare Virtual Machines across clouds →

civo-compute-stackterraform 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 civo-compute-stack-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/civo-compute-stack/signature

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

# 4. (optional) confirm the checksum too
echo "aa532ced120f42e8323bb4a36639d429633652e521440670c3c5f883342413bf  civo-compute-stack-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "compute_stack" {
  source  = "www.iac-bazaar.com/iac-bazaar/civo-compute-stack/civo"
  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 Basic, so its contract unlocks when you buy it.

Documentation

civo-compute-stack

Status: static-validated, live-test pending. This module ships under live-test quarantine — it passes tofu fmt, tofu validate, and tflint, but the real apply → verify → destroy gate is deferred until a Civo cloud sandbox account is wired into the live-test lane. Treat the secure defaults as reviewed, the cloud behavior as not yet proven end-to-end.

Civo compute stack: one or more instances on a dedicated private network behind a deny-by-default firewall, with optional per-instance block storage and an optional reserved (static) public IP. Works with Terraform and OpenTofu (>= 1.6), Civo provider >= 1.0, < 2.0.

Design / secure defaults

  • Dedicated private network (civo_network) per stack instead of the Civo default network — clean isolation.
  • Deny-by-default firewall. The civo_firewall is created with create_default_rules = false, so nothing inbound is permitted until you list CIDRs. SSH (tcp/22) opens only for allowed_ssh_cidrs; the default empty list leaves SSH closed. Add app ports via extra_ingress_rules. Egress is allowed so instances can reach package mirrors.
  • Key-based access by default. write_password = false, so Civo does not generate/email a root password — supply sshkey_id. If you do enable write_password, the generated value is a sensitive output.
  • Per-instance data volume (civo_volume + civo_volume_attachment), attached at boot by default so cloud-init can format and mount it.
  • Reserved IP guard. create_reserved_ip is gated by a precondition requiring instance_count = 1, since the static IP binds to one instance — this fails fast at plan time rather than silently mis-wiring.

Requirements

  • Terraform or OpenTofu >= 1.6
  • civo/civo provider >= 1.0, < 2.0
  • create_reserved_ip = true requires instance_count = 1 (enforced by a precondition).

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

Related modules