IaC Bazaar
Google CloudLive-tested

Cloud Tasks Queue

A Cloud Tasks queue with capped dispatch rate and concurrency, a bounded exponential-backoff retry policy, and full Stackdriver logging so failed dispatches are observable rather than silent.

terraformGoogle Cloud#gcp
gcp-cloud-tasksterraform v1.7

Verification

Live-tested

Really deployed, verified, idempotent and destroyed in a cloud sandbox.

Conformance

  • Static validation (fmt · validate · tflint)
  • Security scan (Checkov)
  • Plan tests (mocked: validation rules · outputs)

Provenance

  • SHA-256 checksum
  • Signature (pending)

Functional

  • Live-tested — applied, verified, destroyed

Last verified 2026-06-30 · how we verify

Documentation

gcp-cloud-tasks

A Cloud Tasks queue with the rate-limit and retry controls that keep a downstream worker from being overwhelmed: a cap on dispatch rate and on in-flight tasks, a bounded exponential-backoff retry policy, and full Stackdriver logging so failed dispatches are observable rather than silent. Works with Terraform and OpenTofu (>= 1.6), Google provider >= 7.0, < 8.0.

Secure defaults:

  • Dispatch rate and concurrency are capped (not unlimited) — tune them down to what your worker can absorb.
  • Retries are bounded by max_attempts, so a permanently-failing task does not retry forever.
  • Operational logging is on at full sampling (1.0); lower it to cut log volume/cost.

Requirements

RequirementVersion
Terraform / OpenTofu>= 1.6
hashicorp/google>= 7.0, < 8.0

The Cloud Tasks API (cloudtasks.googleapis.com) must be enabled in the project.

Verification

Static-validated (fmt, validate, tflint). Live apply/destroy testing pending cloud sandbox availability — see catalog status.

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