Skip to content

webapps/windows_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.windows_web_app["azurecaf_name.windows_web_app"] azurerm_windows_web_app.windows_web_app["azurerm_windows_web_app.windows_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"] remote:diagnostics["remote:diagnostics"] remote:managed_identities["remote:managed_identities"] remote:private_dns["remote:private_dns"] remote:service_plans["remote:service_plans"] remote:storage_accounts["remote:storage_accounts"] remote:vnets["remote:vnets"] 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_windows_web_app.windows_web_app --> azurecaf_name.windows_web_app azurerm_windows_web_app.windows_web_app --> remote:managed_identities azurerm_windows_web_app.windows_web_app --> remote:service_plans azurerm_windows_web_app.windows_web_app --> remote:storage_accounts azurerm_windows_web_app.windows_web_app --> remote:vnets 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_windows_web_app.windows_web_app module.diagnostics --> remote:diagnostics module.private_endpoint --> azurerm_windows_web_app.windows_web_app module.private_endpoint --> remote:private_dns module.private_endpoint --> remote:vnets module.slots --> azurerm_windows_web_app.windows_web_app module.slots --> remote:storage_accounts module.slots --> remote:vnets

Module Reference

Category: webapps
Path: modules/webapps/windows_web_app
Azure Resources: azurecaf_name, azurerm_windows_web_app, time_rotating

Inputs

Name Description Type Required Default Validation
"global_settings" "Global CAF settings used for naming and optional inherited tags in the Windows Web App module." any yes - -
"client_config" "Client context used to resolve landing-zone-aware references through remote_objects." any yes - -
"location" "Azure region where the Windows Web App is created. Callers commonly coalesce with the target resource group location." string yes - -
"settings" "<<DESCRIPTION Configuration object for azurerm_windows_web_app. Top-level attributes supported by this module: - n... any yes - -
"resource_group" "Resolved resource group object for this module. Expected keys include name, and typically location and optional ... any yes - -
"base_tags" "When true, merge global/resource-group tags with module and settings tags." bool yes - -
"remote_objects" "<<DESCRIPTION Dependency objects injected from root aggregators. This module commonly consumes: - service_plans - ma... any yes - -
"private_endpoints" "Private endpoint definitions for the Windows Web App." any no {} -

Outputs

Name Description Sensitive Value
"name" "The CAF-compliant name of the Windows Web App" - azurecaf_name.windows_web_app.result
"id" "The ID of the Windows Web App." - azurerm_windows_web_app.windows_web_app.id
"custom_domain_verification_id" "The identifier used by App Service to perform domain ownership verification via DNS TXT record." - azurerm_windows_web_app.windows_web_app.custom_domain_verification_id
"hosting_environment_id" "The ID of the App Service Environment used by App Service." - azurerm_windows_web_app.windows_web_app.hosting_environment_id
"default_hostname" "The default hostname of the Windows Web App." - azurerm_windows_web_app.windows_web_app.default_hostname
"identity" "An identity block as defined below." - azurerm_windows_web_app.windows_web_app.identity
"kind" "The Kind value for this Windows Web App." - azurerm_windows_web_app.windows_web_app.kind
"outbound_ip_address_list" "A list of outbound IP addresses." - azurerm_windows_web_app.windows_web_app.outbound_ip_address_list
"outbound_ip_addresses" "A comma separated list of outbound IP addresses." - azurerm_windows_web_app.windows_web_app.outbound_ip_addresses
"possible_outbound_ip_address_list" "A list of possible outbound IP addresses." - azurerm_windows_web_app.windows_web_app.possible_outbound_ip_address_list
"possible_outbound_ip_addresses" "A comma separated list of possible outbound IP addresses." - azurerm_windows_web_app.windows_web_app.possible_outbound_ip_addresses
"site_credential" "A site_credential block as defined below." - azurerm_windows_web_app.windows_web_app.site_credential

Sources

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