functionapp
anoff/functionapp/azurerm
Deploy a dedicated or consumption based Function App with all dependencies and minimal config
Terraform module for Azure FunctionApp ⚡️ > Deploy a function app on Azure with minimal configuration Features - Create resource group, storage account and service plan automatically - Use name for all created resources by default, allowing custom values to be defined - Automatically set up deployment via local git repo and expose as git_url output - By default deactivate client_affinity and activate always_on (dedicated plans only) - Single parameter to start app in consumption plan plan_type = consumption - Customize all the things ✨ Usage > 🚨 Note: As Terraform and ARM do not natively support enabling local git deployment this module uses the az CLI for that. This means you need to have az installed and a valid login token when running Terraform. If you set git_enabled = false you do no
| Name | Type | Description | Default |
|---|---|---|---|
| location | any | Region where the resources are created. | required |
| name | any | The name of the function app | required |
| plan_type | any | What kind of plan to use (dedicated or consumption) | required |
| resource_group_name | any | The name of the resource group in which the resources will be created, default = | "" |
| plan_settings | any | Definition of the dedicated plan to use | {
"capacity": 1,
"kind": "Linux",
|
| storage_account_name | any | The name of the storage account for WebJobs, default = $function_app_name | "" |
| service_plan_name | any | The name of the App Service Plan, default = $function_app_name | "" |
| func_version | any | The runtime version associated with the Function App. Possible values are `~1` a | "~1" |
| app_settings | any | A key-value pair of App Settings | {} |
| connection_string | any | A block containing connection string definitions, see https://www.terraform.io/d | [] |
| client_affinity_enabled | any | Enable client affinity a.k.a. sticky sessions | false |
| git_enabled | any | Set deployment mode to local git | true |
| site_config | any | A key-value pair for Site Config | [
{
"always_on": true
}
] |
git_url — Git endpoint to deploy the function sourcecode toname — Function App name (identical with input parameter..for now)id — Function App unique IDoutbound_ip_addresses — A comma separated list of outbound IP addresses - such as 52.23.25.3,52.143.43.12default_hostname — Unique hostname to reach the Function AppAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,