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"]
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
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.private_endpoint --> azurerm_windows_web_app.windows_web_app
module.slots --> azurerm_windows_web_app.windows_web_app
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 settings object | any |
yes | - |
- |
client_config |
Client configuration object | 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 module | any |
yes | - |
- |
resource_group |
Resource group object | any |
yes | - |
- |
base_tags |
Flag to determine if tags should be inherited | bool |
yes | - |
- |
remote_objects |
A map of objects representing the remote objects to be used in the module. This is used to pass the remote objects to... | any |
yes | - |
- |
private_endpoints |
A map of objects representing the private endpoints to create. | 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.tfmodules/webapps/windows_web_app/diagnostics.tfmodules/webapps/windows_web_app/locals.connection_strings.tfmodules/webapps/windows_web_app/locals.dynamic_app_settings.tfmodules/webapps/windows_web_app/locals.tfmodules/webapps/windows_web_app/locals_windows_web_app.tfmodules/webapps/windows_web_app/main.tfmodules/webapps/windows_web_app/managed_identities.tfmodules/webapps/windows_web_app/outputs.tfmodules/webapps/windows_web_app/private_endpoint.tfmodules/webapps/windows_web_app/providers.tfmodules/webapps/windows_web_app/slots.tfmodules/webapps/windows_web_app/storage_account.tfmodules/webapps/windows_web_app/variables.tfmodules/webapps/windows_web_app/windows_web_app.tf