Azure Functions App
Function app (Flex Consumption or Premium) with storage, Application Insights, managed identity and VNet integration.
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-29 · 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-functions-1.0.0.sigstore.json \
https://www.iac-bazaar.com/api/artifacts/azure-functions/signature
# 3. Verify the tarball you downloaded
cosign verify-blob \
--key cosign.pub \
--bundle azure-functions-1.0.0.sigstore.json \
azure-functions-1.0.0.tar.gz
# → Verified OK
# 4. (optional) confirm the checksum too
echo "2fcfbe1e762aaeea3495ce7e441cf11237cd06ac28a11129a855473c47f62c4b azure-functions-1.0.0.tar.gz" | sha256sum -cUse it from the registry
terraform · opentofumodule "functions" {
source = "www.iac-bazaar.com/iac-bazaar/azure-functions/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-functions?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
Terraform module 1.0.0, live-tested on IaC Bazaar: [Azure Functions App](https://www.iac-bazaar.com/catalog/azure-functions?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
```hcl
module "functions" {
source = "www.iac-bazaar.com/iac-bazaar/azure-functions/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-functions
Function app (Flex Consumption or Premium) with storage, Application Insights,
managed identity and VNet integration. Works with Terraform and OpenTofu
(>= 1.6), AzureRM provider >= 4.31, < 5.0.
Secure defaults:
- HTTPS-only, TLS 1.2 minimum, HTTP/2 on, FTPS disabled (premium path)
- System-assigned managed identity on the app — no service principals
- Backing storage: TLS 1.2, HTTPS-only, no public nested items, 7-day
blob/container soft-delete, queue-service Storage Analytics logging
(read/write/delete, 7-day retention) and a 7-day SAS expiration policy
(action
Log— long-lived SAS tokens are surfaced, nothing breaks) - Workspace-based Application Insights (classic AI is deprecated)
- Flex Consumption: private deployment container; optional identity-based
access (module grants
Storage Blob Data Contributorautomatically)
Requirements
- Terraform or OpenTofu
>= 1.6 hashicorp/azurerm>= 4.31, < 5.0(4.31.0 is the first release where theazurerm_function_app_flex_consumptionresource supports everything this module configures, includinghttps_only; older 4.x releases fail validate)
Notes for integrators:
- Flex Consumption is the strategic replacement for the classic Consumption (Y1) plan — this module deliberately offers flex + premium only.
- The derived storage account name is deterministic from
name; storage names are globally unique, so passstorage_account_nameif you hit a clash. - VNet integration on Flex Consumption requires a subnet delegated to
Microsoft.App/environments; for Premium, delegate toMicrosoft.Web/serverFarms.
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
azure-app-service
App Service plan + Linux web app with deployment slots, custom domain + managed TLS, VNet integration and autoscale.
azure-container-apps
Container Apps environment with workload profiles, Dapr, KEDA scale rules, ACR pull identity and custom domain.
azure-container-instances
Runs one or more containers on Azure Container Instances without VMs or an orchestrator - secure by default with no privileged containers, redacted secret fields, and an optional managed identity.
azure-static-web-app
Globally distributed hosting for static sites and SPAs on Azure Static Web Apps with optional serverless APIs, free auto-renewing TLS, and a built-in global CDN - defaulting to the cost-free Free SKU.
azure-logic-app
An Azure Logic App (Consumption) workflow with a built-in Recurrence trigger - serverless pay-per-execution automation with a system-assigned managed identity and inbound IP allowlists.
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.