avm-ptn-function-app-storage-private-endpoints
Azure/avm-ptn-function-app-storage-private-endpoints/azurerm
Terraform Azure Verified Pattern Module for Function App and private endpoint-secured Storage
terraform-azurerm-avm-ptn-function-app-storage-private-endpoints This is the pattern module to deply function app with secured storage. Requirements The following requirements are needed by this module: - terraform (~> 1.10) - azapi (~> 2.4) - modtm (~> 0.3) - random (~> 3.5) Resources The following resources are used by this module: - azapi_update_resource.this (resource) - modtm_telemetry.telemetry (resource) - random_uuid.telemetry (resource) - azapi_client_config.telemetry (data source) - modtm_module_source.telemetry (data source) Required Inputs The following input variables are required: location Description: Azure region where the resource should be deployed. If null, the location will be inferred from the resource group location. Type: string name Description: The name of the this
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | The name of the this resource. | required |
| resource_group_name | string | The resource group where the resources will be deployed. | required |
| location | string | Azure region where the resource should be deployed. If null, the location will | required |
| os_type | string | The operating system that should be the same type of the App Service Plan to dep | required |
| logs | map(object({ application_l | A map of logs to create on the Function App. | {} |
| storage_shares_to_mount | map(object({ access_key | A map of objects that represent Storage Account FILE SHARES to mount to the Fu | {} |
| virtual_network_subnet_id | string | The ID of the subnet to deploy the Function App in. | null |
| application_insights | object({ application_type | The Application Insights settings to assign to the Function App. | {} |
| auth_settings | map(object({ additional_lo | A map of authentication settings to assign to the Function App. - `additional | {} |
| auth_settings_v2 | map(object({ auth_enabled | A map of authentication settings (V2) to assign to the Function App. - `auth_en | {} |
| client_certificate_mode | string | The client certificate mode for the Function App. | "Required" |
| enable_telemetry | bool | This variable controls whether or not telemetry is enabled for the module. For m | true |
| create_secure_storage_account | bool | Should a secure Storage Account be created for the Function App? Defaults to `tr | true |
| storage_account | object({ name | A map of objects that represent a Storage Account to mount to the Function App | {} |
| custom_domains | map(object({ slot_as_targe | A map of custom domains to assign to the Function App. - `slot_as_target` - | {} |
| enable_application_insights | bool | Should Application Insights be enabled for the Function App? | true |
| private_endpoints_inherit_lock | bool | Should the private endpoints inherit the lock from the parent resource? Defaults | true |
| storage_account_name | string | The name of the existing Storage Account to deploy the Function App in. | null |
| builtin_logging_enabled | bool | Should builtin logging be enabled for the Function App? | true |
| client_affinity_enabled | bool | Should client affinity be enabled for the Function App? | false |
| client_certificate_enabled | bool | Should client certificate be enabled for the Function App? | false |
| connection_strings | map(object({ name = optio | A map of connection strings to assign to the Function App. - `name` - (Optio | {} |
| diagnostic_settings | map(object({ name | A map of diagnostic settings to create on the Key Vault. The map key is delibera | {} |
| https_only | bool | Should the Function App only be accessible over HTTPS? | false |
| … and 10 more inputs | |||
deprecated_variables — The list of deprecated variables.function_app_private_dns_zone — The resource output for the private dns zone of the function appfunction_app_private_dns_zone_id — The resource output for the private dns zone of the function appname — This is the name of the resource.resource — This is the full output for the resource.resource_id — This is the full output for the resource.service_plan_resource — This is the name of the service plan.storage_account_resource — This is the full output for the storage account.