AzureLive-testedattested

Azure Functions App

Function app (Flex Consumption or Premium) with storage, Application Insights, managed identity and VNet integration.

terraformAzureazure

Compare Serverless Functions across clouds →

azure-functionsvizier v1.2.0

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-29 · 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 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 -c

Use it from the registry

terraform · opentofu
module "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 · attribution

Paste 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.

README.md, GitLab, Gitea
[![IaC Bazaar: live-tested](https://www.iac-bazaar.com/api/artifacts/azure-functions/badge)](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:IaC Bazaar: live-tested

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 Contributor automatically)

Requirements

  • Terraform or OpenTofu >= 1.6
  • hashicorp/azurerm >= 4.31, < 5.0 (4.31.0 is the first release where the azurerm_function_app_flex_consumption resource supports everything this module configures, including https_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 pass storage_account_name if you hit a clash.
  • VNet integration on Flex Consumption requires a subnet delegated to Microsoft.App/environments; for Premium, delegate to Microsoft.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