function-app
claranet/function-app/azurerm
Terraform module for Azure Function App
Azure Function App     This Terraform module creates an Azure Function App with its App Service Plan, a consumption plan by default. A Storage Account and an Application Insights are required and are created if not provided. This module allows to deploy a application from a local or remote ZIP file that will be stored on the associated storage account. The module automatically selects the appropriate Function App resource type: Linux - Creates azurerm_linux_function_app when var.os_type = "Linux" - Flex - Creates azurerm_linux_function_app_flex_consumption when var.os_type = "Linux" and var.sku_name = "FC1" Windows - Creates azurerm_
| Name | Type | Description | Default |
|---|---|---|---|
| environment | string | Project environment. | required |
| logs_destinations_ids | list(string) | List of destination resources IDs for logs diagnostic destination. Can be `Stora | required |
| location | string | Azure location for Function App and related resources. | required |
| location_short | string | Short string for Azure location. | required |
| identity_ids | list(string) | User Assigned Identities IDs to add to Function App. Mandatory if type is `UserA | null |
| client_certificate_mode | string | The mode of the Function App's client certificates requirement for incoming requ | null |
| logs_categories | list(string) | Log categories to send to destinations. | null |
| storage_account_name_prefix | string | Storage Account name prefix. | "" |
| storage_account_identity_ids | list(string) | Specifies a list of User Assigned Managed Identity IDs to be assigned to the Sto | null |
| application_settings_drift_ignore | bool | Ignore drift from settings manually set. | true |
| staging_slot_custom_application_settings | map(string) | Override staging slot with custom application settings. | null |
| storage_account_kind | string | Storage Account kind. | "StorageV2" |
| storage_account_min_tls_version | string | Storage Account minimal TLS version. | "TLS1_2" |
| rbac_storage_blob_role_principal_ids | object({ owners = op | The principal IDs of the users, groups, and service principals to assign the `St | {} |
| application_insights_extra_tags | map(string) | Extra tags to add to Application Insights. | {} |
| application_insights_internet_ingestion_enabled | bool | Whether ingestion support from Application Insights component over the Public In | true |
| builtin_logging_enabled | bool | Whether built-in logging is enabled. | true |
| scm_allowed_ips | list(string) | SCM IPs restriction for Function App. [See documentation](https://registry.terra | [] |
| worker_count | number | Number of Workers (instances) to be allocated. | null |
| storage_account_https_traffic_only_enabled | bool | Whether HTTPS traffic only is enabled for Storage Account. | true |
| sticky_settings | object({ app_setting_names | Lists of connection strings and app settings to prevent from swapping between sl | null |
| logs_metrics_categories | list(string) | Metrics categories to send to destinations. | null |
| storage_logs_categories | list(string) | Override storage_logs_categories for the storage. Log categories to send to dest | null |
| storage_logs_metrics_categories | list(string) | Override storage_logs_metrics_categories for the storage. Metrics categories to | null |
| … and 10 more inputs | |||
storage_account_secondary_access_key — Storage Account secondary access key.slot_id — ID of the Function App slot.application_insights_id — ID of the associated Application Insights.default_hostname — Default hostname of the created Function App.identity_principal_id — Identity principal ID output of the Function App.slot_identity_principal_id — Identity block output of the Function App slot.application_insights_application_type — Application Type of the associated Application Insights.possible_outbound_ip_addresses — All possible outbound IP adresses of the created Function App.slot_default_hostname — Default hostname of the Function App slot.service_plan_id — ID of the created Service Plan.storage_account_network_rules — Storage Account associated network rules.id — ID of the created Function App.connection_string — Connection string of the created Function App.application_insights_name — Name of the associated Application Insights.storage_account_id — Storage Account ID.storage_account_name — Storage Account name.outbound_ip_addresses — Outbound IP adresses of the created Function App.slot_name — Name of the Function App slot.resource_application_insights — Application Insights resource object.storage_account_primary_connection_string — Storage Account primary connection string.storage_account_secondary_connection_string — Storage Account secondary connection string.module_storage_account — Storage Account module object.resource_slot — Function App staging slot resource object.application_insights_app_id — App ID of the associated Application Insights.application_insights_instrumentation_key — Instrumentation key of the associated Application Insights.module_diagnostics — Diagnostic Settings module object.module_service_plan — Service Plan module object.storage_account_primary_access_key — Storage Account primary access key.name — Name of the created Function App.resource — Function App resource object.Azure 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,