Cloudflare Workers Platform
Worker with KV/R2/D1 bindings, routes, custom domain, and secrets - full edge app scaffold.
Verification
Plan-validatedPassed: 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)
- No applicable security policies for this provider
- Plan tests (mocked: validation rules · outputs)
Provenance
- SHA-256 checksum
- Cosign signature
Functional
- Live test pending (no cloud run yet)
Last verified 2026-06-28 · how we verify
Verify this download
cosign · sha-256Don'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 cloudflare-workers-platform-1.0.0.sigstore.json \
https://www.iac-bazaar.com/api/artifacts/cloudflare-workers-platform/signature
# 3. Verify the tarball you downloaded
cosign verify-blob \
--key cosign.pub \
--bundle cloudflare-workers-platform-1.0.0.sigstore.json \
cloudflare-workers-platform-1.0.0.tar.gz
# → Verified OK
# 4. (optional) confirm the checksum too
echo "c71841eb2f71914c1f13a329d4a798ce0b95ad1c06da49b4bcbde97706daf075 cloudflare-workers-platform-1.0.0.tar.gz" | sha256sum -cUse it from the registry
terraform · opentofumodule "workers_platform" {
source = "www.iac-bazaar.com/iac-bazaar/cloudflare-workers-platform/cloudflare"
version = "1.0.0"
}Needs a registry token from /account/tokens. The module itself is free; the account is what identifies you. Full setup: registry docs.
Cite it in your README
badge · attributionPaste this beside the module in the repository that uses it. The badge is rendered from this artifact's verification record, so it reads plan-validated because the record says so, and the link lands on this page.
[](https://www.iac-bazaar.com/catalog/cloudflare-workers-platform?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
Terraform module 1.0.0, plan-validated on IaC Bazaar: [Cloudflare Workers Platform](https://www.iac-bazaar.com/catalog/cloudflare-workers-platform?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
```hcl
module "workers_platform" {
source = "www.iac-bazaar.com/iac-bazaar/cloudflare-workers-platform/cloudflare"
version = "1.0.0"
}
```Preview:
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 module in the catalogue. There is no subscription and nothing to buy - the modules are free to download, and they run under Vizier.
Documentation
cloudflare-workers-platform
Worker with KV/R2/D1 bindings, routes, custom domain, and secrets — a full
edge app scaffold in one module call. Creates the Worker script plus the KV
namespaces, R2 buckets, and D1 databases it binds to, wires every binding by
name, and exposes the app on routes and/or custom domains. Built against the
auto-generated provider v5 schema. Works with Terraform and OpenTofu
(>= 1.6), Cloudflare provider >= 5.0, < 6.0.
Opinionated defaults:
- Observability (invocation logs) on, full head-sampling.
- ES-module Worker syntax by default; pinned
compatibility_date. - Secrets are bound as
secret_text(encrypted at Cloudflare) and marked sensitive in state; plain config goes inplain_text_vars. - Storage resources are named
<script_name>-<binding>unless overridden.
License
Commercial — IaC Bazaar EULA. © IaC Bazaar. Original work (not derived from a third-party module).
Usage code & full reference need an account
The complete copy-paste usage, the full input/output reference, and operational notes are free with an account - shown here and bundled in the download. Sign in and this section fills in.
- Usage
- Inputs
- Outputs
- Requirements & notes
Related modules
cloudflare-pages-project
Every branch pushed gets a public preview URL by default, the half-finished pricing page included; an environment variable is readable in the dashboard unless stored as a secret; and the production branch is whatever the repository's default was. Previews limited to the branches you list (every branch by name), each variable marked secret or plain, bindings per environment, and custom domains.
ibm-code-engine-function
A Code Engine function in a project created here, callable only from inside the project unless a public URL is accepted by name, with the compute resource token mounted so it obtains IAM tokens through a trusted profile and needs no API key, and CPU, memory, concurrency and execution time capped so a runaway caller cannot drive the bill.
alicloud-fc-function
A Function Compute 3.0 function running as the RAM role you name, with internet access off (on by name), in your VPC when a vpc_config is given, logging every invocation to a Log Service project and logstore (none by name), with code fetched from an OSS object you uploaded. Memory, CPU, disk, timeout and instance concurrency are inputs.
huawei-fgs-function
A FunctionGraph v2 function running as the IAM agency you name, in your VPC when a subnet is given, logging every invocation to the LTS group and stream you name, with plain environment variables in user_data and secrets in encrypted_user_data under your KMS key (which also encrypts the code), fetched from an OBS URL. A ceiling on instances is an input.
tencent-scf-function
A Serverless Cloud Function running as the CAM role you name, with public network access off (on by name), in your VPC when a subnet is given, logging every invocation to a CLS logset and topic (none by name), synchronous only, with code fetched from a COS object you uploaded. Memory and timeout are inputs.
scaleway-function
A Scaleway Serverless Function in its own namespace, private so an IAM token is needed to invoke it (public by name), plain HTTP redirected to HTTPS, secrets in the encrypted secret variables rather than the plain ones, idling at zero instances with a ceiling you chose, and the zip archive uploaded at apply with its hash so a changed archive redeploys.