Skip to content

webapps/linux_web_app

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azurecaf_name.linux_web_app["azurecaf_name.linux_web_app"] azurerm_linux_web_app.linux_web_app["azurerm_linux_web_app.linux_web_app"] data.azurerm_storage_account.backup_storage_account["data.azurerm_storage_account.backup_storage_account"] data.azurerm_storage_account_blob_container_sas.backup["data.azurerm_storage_account_blob_container_sas.backup"] data.azurerm_storage_account_blob_container_sas.http_logs["data.azurerm_storage_account_blob_container_sas.http_logs"] data.azurerm_storage_account_blob_container_sas.logs["data.azurerm_storage_account_blob_container_sas.logs"] module.diagnostics["module.diagnostics"] module.private_endpoint["module.private_endpoint"] module.slots["module.slots"] time_rotating.http_logs_sas["time_rotating.http_logs_sas"] time_rotating.logs_sas["time_rotating.logs_sas"] time_rotating.sas["time_rotating.sas"] azurerm_linux_web_app.linux_web_app --> azurecaf_name.linux_web_app data.azurerm_storage_account_blob_container_sas.backup --> data.azurerm_storage_account.backup_storage_account data.azurerm_storage_account_blob_container_sas.backup --> time_rotating.sas data.azurerm_storage_account_blob_container_sas.http_logs --> data.azurerm_storage_account.backup_storage_account data.azurerm_storage_account_blob_container_sas.http_logs --> time_rotating.http_logs_sas data.azurerm_storage_account_blob_container_sas.logs --> data.azurerm_storage_account.backup_storage_account data.azurerm_storage_account_blob_container_sas.logs --> time_rotating.logs_sas module.diagnostics --> azurerm_linux_web_app.linux_web_app module.private_endpoint --> azurerm_linux_web_app.linux_web_app module.slots --> azurerm_linux_web_app.linux_web_app

Module Reference

Category: webapps
Path: modules/webapps/linux_web_app
Azure Resources: azurecaf_name, azurerm_linux_web_app, time_rotating

Inputs

Name Description Type Required Default Validation
global_settings The global_settings object is a map of settings that can be used to configure the naming convention for Azure resourc... any yes - -
client_config Client configuration object primarily used for specifying the Azure client context in non-interactive environments, s... any yes - -
location (Required) Specifies the supported Azure location where to create the resource. Changing this forces a new resource t... string yes - -
settings Settings of the Linux Web App module: any yes - -
resource_group Resource group object any yes - -
base_tags Flag to determine if tags should be inherited bool yes - -
remote_objects Remote objects any yes - -
private_endpoints Private endpoints configuration any no {} -

Outputs

Name Description Sensitive Value
name The CAF-compliant name of the Linux Web App - azurecaf_name.linux_web_app.result
id - azurerm_linux_web_app.linux_web_app.id
custom_domain_verification_id - azurerm_linux_web_app.linux_web_app.custom_domain_verification_id
hosting_environment_id - azurerm_linux_web_app.linux_web_app.hosting_environment_id
default_hostname - azurerm_linux_web_app.linux_web_app.default_hostname
kind - azurerm_linux_web_app.linux_web_app.kind
outbound_ip_address_list - azurerm_linux_web_app.linux_web_app.outbound_ip_address_list
outbound_ip_addresses - azurerm_linux_web_app.linux_web_app.outbound_ip_addresses
possible_outbound_ip_address_list - azurerm_linux_web_app.linux_web_app.possible_outbound_ip_address_list
possible_outbound_ip_addresses - azurerm_linux_web_app.linux_web_app.possible_outbound_ip_addresses
site_credential true azurerm_linux_web_app.linux_web_app.site_credential
identity - azurerm_linux_web_app.linux_web_app.identity
slots - module.slots
rbac_id - azurerm_linux_web_app.linux_web_app.id

Sources

  • modules/webapps/linux_web_app/azurecaf_name.tf
  • modules/webapps/linux_web_app/diagnostics.tf
  • modules/webapps/linux_web_app/linux_web_app.tf
  • modules/webapps/linux_web_app/locals.connection_strings.tf
  • modules/webapps/linux_web_app/locals.dynamic_app_settings.tf
  • modules/webapps/linux_web_app/locals.tf
  • modules/webapps/linux_web_app/locals_linux_web_app.tf
  • modules/webapps/linux_web_app/main.tf
  • modules/webapps/linux_web_app/managed_identities.tf
  • modules/webapps/linux_web_app/outputs.tf
  • modules/webapps/linux_web_app/private_endpoint.tf
  • modules/webapps/linux_web_app/providers.tf
  • modules/webapps/linux_web_app/slots.tf
  • modules/webapps/linux_web_app/storage_account.tf
  • modules/webapps/linux_web_app/variables.tf