IaC Bazaar
Google CloudLive-tested

Cloud Composer 2 (managed Airflow)

Managed Apache Airflow on Cloud Composer 2 with small-by-default sizing, worker autoscaling pinned for predictable cost, and an opt-in private environment posture.

terraformGoogle Cloud#gcp
gcp-composerterraform v1.7

Verification

Live-tested

Really deployed to a cloud sandbox, verified against its outputs and assertions, then destroyed - with the teardown confirmed.

Conformance

  • Static validation (fmt · validate · tflint)
  • Security scan clean (Checkov)
  • Plan test superseded by live test

Provenance

Functional

  • Live-tested - applied, verified, destroyed

Last verified 2026-06-30 · 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 gcp-composer-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/gcp-composer/signature

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

# 4. (optional) confirm the checksum too
echo "c2c090fbc86ce7dcbb2470b657b7fdd8b93d0569920f30f1b49aa3040f9ade0c  gcp-composer-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "composer" {
  source  = "www.iac-bazaar.com/iac-bazaar/gcp-composer/gcp"
  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

gcp-composer

Managed Apache Airflow on Cloud Composer 2. Composer runs Airflow on a Google-managed GKE Autopilot cluster with a managed Cloud SQL metadata database and a GCS DAG bucket — this module wraps it with small-by-default sizing, pinned worker autoscaling for predictable cost, and an opt-in private posture. Works with Terraform and OpenTofu (>= 1.6), Google provider >= 7.0, < 8.0.

Defaults:

  • environment_size = "ENVIRONMENT_SIZE_SMALL" with the smallest workloads (0.5 vCPU each) and a single pinned worker
  • Current composer-2-airflow-2 image line (latest patch)
  • Public environment unless enable_private_environment = true (private needs a VPC subnetwork with Private Google Access)

Cost & time: Composer is the most expensive module in this catalog and the slowest to stand up — a small environment takes ~25 min to create and bills for the underlying GKE cluster, Cloud SQL and web server for as long as it exists.

Requirements

  • Terraform or OpenTofu >= 1.6
  • hashicorp/google >= 7.0, < 8.0
  • APIs: composer.googleapis.com (plus container, sqladmin, compute, storage, artifactregistry)

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