Skip to content

manfred0191/terraform-azurerm-function-app-linux

Repository files navigation

Azure Linux Function App Terraform module

Terraform module for creation Azure Linux Function App

Usage

Requirements

Name Version
terraform >= 1.0.0
azurerm >= 3.23.0

Providers

Name Version
azurerm 3.24.0

Modules

No modules.

Resources

Name Type
azurerm_app_service_virtual_network_swift_connection.this resource
azurerm_application_insights.this resource
azurerm_linux_function_app.this resource
azurerm_role_assignment.storage resource
azurerm_function_app_host_keys.this data source
azurerm_function_app_host_keys.this_vnet data source

Inputs

Name Description Type Default Required
app_settings Application setting map(string) {} no
application_stack Application stack map(string)
{
"java_version": "11"
}
no
application_type Application type (java, python, etc) string "java" no
azure_rbac Azure RBAC permision map (scope, role) list(map(string)) [] no
enable_appinsights Enable application insights bool true no
env Environment string n/a yes
identity_ids List of user assigned identity IDs list(string) null no
ip_restriction Firewall settings for the function app
list(object({
name = string
ip_address = string
service_tag = string
virtual_network_subnet_id = string
priority = string
action = string
headers = list(object({
x_azure_fdid = list(string)
x_fd_health_probe = list(string)
x_forwarded_for = list(string)
x_forwarded_host = list(string)
}))
}))
[
{
"action": "Allow",
"headers": null,
"ip_address": null,
"name": "allow_azure",
"priority": "100",
"service_tag": "AzureCloud",
"virtual_network_subnet_id": null
}
]
no
location Location string n/a yes
log_storage_name Logs storage account name string n/a yes
name Function index/name (like 007) string n/a yes
project Project name string n/a yes
resource_group Resource group name string n/a yes
service_plan_id App Service plan ID string n/a yes
subnet_id Subnet ID for the function app string null no
tags Tags map(string) n/a yes
use_private_net Use private network injection bool false no

Outputs

Name Description
id Function app ID
identity Function app Managed Identity
outbound_ip_address_list Function app outbound IP address list
primary_key Function app primary key

License

Apache 2 Licensed. For more information please see LICENSE

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%