API Management (Consumption tier)
An API Management gateway tuned for the serverless Consumption tier - scale-to-zero, billed per call - with a system-assigned managed identity, TLS hardening, and HTTP/2 enabled.
Verification
Live-testedReally 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
- SHA-256 checksum
- Cosign signature
Functional
- Live-tested - applied, verified, destroyed
Last verified 2026-06-30 · 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 azure-api-management-1.0.0.sigstore.json \
https://www.iac-bazaar.com/api/artifacts/azure-api-management/signature
# 3. Verify the tarball you downloaded
cosign verify-blob \
--key cosign.pub \
--bundle azure-api-management-1.0.0.sigstore.json \
azure-api-management-1.0.0.tar.gz
# → Verified OK
# 4. (optional) confirm the checksum too
echo "667254d82c9b8ab5d7e3f858ef55696be2d9711cb9f810fd494bf94249f01207 azure-api-management-1.0.0.tar.gz" | sha256sum -cUse it from the registry
terraform · opentofumodule "api_management" {
source = "www.iac-bazaar.com/iac-bazaar/azure-api-management/azure"
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 live-tested because the record says so, and the link lands on this page.
[](https://www.iac-bazaar.com/catalog/azure-api-management?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
Terraform module 1.0.0, live-tested on IaC Bazaar: [API Management (Consumption tier)](https://www.iac-bazaar.com/catalog/azure-api-management?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
```hcl
module "api_management" {
source = "www.iac-bazaar.com/iac-bazaar/azure-api-management/azure"
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
azure-api-management
Azure API Management gateway tuned for the serverless Consumption tier —
scale-to-zero, billed per call, provisions in minutes (not the 30-45+ minutes a
Developer/Standard instance takes). Secure by default: a system-assigned managed
identity (no static credentials), TLS hardening that disables SSL 3.0 / TLS 1.0 /
TLS 1.1 / 3DES, and HTTP/2 enabled — the hardening is applied on tiers that
expose those settings and auto-skipped on Consumption, whose managed gateway
already enforces TLS 1.2+. Consumes an existing resource group; optional VNet
integration for the tiers that support it. Works with Terraform and OpenTofu
(>= 1.6), azurerm provider >= 4.0, < 5.0.
Security notes
- Identity over secrets. A system-assigned managed identity is created by default; grant it access to backends and Key Vault (named-value) references rather than embedding credentials.
- TLS hardening. On Basic/Standard/Premium the
securityblock disables SSL 3.0, TLS 1.0/1.1 (frontend and backend) and 3DES. The Consumption tier runs on Azure's shared managed gateway, which rejects these custom properties and already enforces TLS 1.2+, so the module auto-skips the block there — keeping the as-shipped Consumption apply clean while staying secure. - Public ingress by design. An API gateway exists to receive traffic, so
public_network_access_enableddefaults totrue. Disabling it requires a private endpoint and is unavailable on the Consumption tier. - Tier limits to know. VNet integration, custom domains and multi-region are
Developer/Premium features;
client_certificate_enabledis Consumption-only. The module validatessku_nameand fails fast on incompatible combinations.
Requirements
| Requirement | Version |
|---|---|
| Terraform / OpenTofu | >= 1.6 |
hashicorp/azurerm | >= 4.0, < 5.0 |
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
Related modules
tencent-api-gateway
An API Gateway service with net_type INNER rather than OUTER, https rather than the http that stays plaintext to the gateway, and QPS ceilings required - without a limit one caller can spend the whole backend's capacity. auth_type NONE and CORS are both named per API, since either turns an endpoint into an open one.
oci-api-gateway
Managed API gateway with route deployments, JWT/auth policies, rate limiting, CORS and custom-domain TLS.
gcp-api-gateway
A serverless API Gateway fronting an OpenAPI 2.0 spec - API, immutable config and managed gateway - with a dedicated least-privilege backend service account and a built-in default spec.
aws-apigateway-http
HTTP API with routes, Lambda/ALB integrations, custom domain, JWT authorizers, and access logs.
aws-apigateway-rest
A REST API wired end to end - resource tree built from route paths, deny-by-default IAM authorization, MOCK/Lambda/HTTP integrations, deployment + stage with throttling and JSON access logs.
huawei-api-gateway
A Huawei Cloud APIG dedicated instance, group, environment and published APIs. The provider defaults an API to no authentication; this module defaults to signed app requests and takes open or plaintext APIs one at a time. Every published API gets the required rate limit, the gateway stays off the internet unless asked, and the debug hostname stays off.