You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: convert to azapi
* chore: remove unused azapi_client_config data source
* improvements
* save changes
* PRE COMMIT
* savwe changes
* update var docs
* break out locals
* update api versions
* pre-commit
* chore: avm pre-commit
* improve docs and allow tests to run
* tidy redundant code and replace missing inputs
* fix api version
* fix api version
* fix moved blocks
* refactor to submodules
* tidy files and app insights parent_id
* pre commit
* fix: resolve pr-check issues - unused locals, ip_restriction headers type, nullable, unused var
* fix: add parent_id to application_insights var, fix Network api-versions to 2025-03-01
* fix: body schema validation, coalesce failure, for_each apply-time issue
- Rename vnetBackupRestoreEnabled/vnetContentShareEnabled/vnetImagePullEnabled to outboundVnetRouting object
- Change apiDefinitionUrl to apiDefinition = { url = ... }
- Remove healthCheckEvictionTimeInMin (not in ARM schema)
- Remove serviceTag from ip_security_restrictions (use ipAddress for service tags)
- Fix coalesce failure when app_stack is null and linux_fx_version is null
- Fix for_each/count using length(merged_app_settings) which depends on apply-time values
* fix: lock_azapi null guard, PE location/parent_id, sensitive output
* fix app service plan zones and exclude consumption plan
* fix authsettings config
* fix variable interfaces to more closely match the API interface. Set secure defaults.
* fix bugs
* more fixes and refactoring
* override tflint rules for modules
* remove unused local
* fix linting
* relax regex for server farm id to be case insensitive
* try australia east
* bug fix
* fix bug
* bug fixes
* fix sensitive issue
* pre commit
* remove app insights and bug fixes
* fix idempotency
* bug fixes
* more fixes
* more fixes
* more fixes
* fix zip deploy
* add retry for destroy eventual consistency
* fix app insights nullness
* linting
* fix linting
# Azure Verified Module for App Service (Web Apps, Function Apps, and Logic Apps)
2
2
3
-
This is the module to deploy function apps in Azure.
3
+
This is an Azure Verified Module (AVM) for deploying and managing Azure App Service resources, including Web Apps, Function Apps, and Logic Apps (Standard).
4
4
5
-
NOTES:
6
-
7
-
-`0.13.0` supports `azurerm``4.8` and later versions.
8
-
- For `azurerm``4.x` support, please use `0.12.x` and later versions.
9
-
- For `azurerm``3.x` support, please use `0.11.x` and prior versions.
5
+
It supports Linux and Windows operating systems, deployment slots, custom domains, managed identities, private endpoints, diagnostic settings, Application Insights integration, IP restrictions, auto heal, storage mounts, and Flex Consumption plans.
<!-- Code generated by terraform-docs. DO NOT EDIT. -->
3
-
# Flex Consumption (FC1) with Always Ready feature example
3
+
# Flex Consumption with Always Ready Instances
4
4
5
-
This deploys the module with a Linux Function App utilizing the Flex Consumption Plan, with always-ready instances.
5
+
This example deploys a Linux Function App on the Azure Flex Consumption (FC1) plan with always-ready instances configured.
6
6
7
-
```hcl
8
-
## Section to provide a random Azure region for the resource group
9
-
# This allows us to randomize the region for the resource group.
10
-
module "regions" {
11
-
source = "Azure/regions/azurerm"
12
-
version = "0.8.0"
13
-
}
7
+
Always-ready instances keep a specified number of pre-warmed workers for designated trigger types (e.g., `http`, `blob`, `durable`), reducing cold-start latency for critical functions. This example demonstrates how to configure the `always_ready` variable to reserve instances for specific triggers.
8
+
9
+
The example uses `kind = "functionapp"`, `os_type = "Linux"`, and `function_app_uses_fc1 = true`.
14
10
15
-
# This allows us to randomize the region for the resource group.
11
+
```hcl
16
12
resource "random_integer" "region_index" {
17
13
max = length(local.azure_regions) - 1
18
14
min = 0
19
15
}
20
-
## End of section to provide a random Azure region for the resource group
21
16
22
-
# This ensures we have unique CAF compliant names for our resources.
# Flex Consumption (FC1) with Always Ready feature example
1
+
# Flex Consumption with Always Ready Instances
2
2
3
-
This deploys the module with a Linux Function App utilizing the Flex Consumption Plan, with always-ready instances.
3
+
This example deploys a Linux Function App on the Azure Flex Consumption (FC1) plan with always-ready instances configured.
4
+
5
+
Always-ready instances keep a specified number of pre-warmed workers for designated trigger types (e.g., `http`, `blob`, `durable`), reducing cold-start latency for critical functions. This example demonstrates how to configure the `always_ready` variable to reserve instances for specific triggers.
6
+
7
+
The example uses `kind = "functionapp"`, `os_type = "Linux"`, and `function_app_uses_fc1 = true`.
0 commit comments