Skip to content

webapps/ase

Overview

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

Dependency diagram (Mermaid)

graph TD azurecaf_name.ase["azurecaf_name.ase"] azurerm_private_dns_a_record.a_records["azurerm_private_dns_a_record.a_records"] azurerm_resource_group_template_deployment.ase["azurerm_resource_group_template_deployment.ase"] data.azurerm_app_service_environment_v3.ase["data.azurerm_app_service_environment_v3.ase"] module.diagnostics["module.diagnostics"] null_resource.destroy_ase["null_resource.destroy_ase"] azurerm_private_dns_a_record.a_records --> azurecaf_name.ase azurerm_private_dns_a_record.a_records --> azurerm_resource_group_template_deployment.ase azurerm_private_dns_a_record.a_records --> data.azurerm_app_service_environment_v3.ase azurerm_resource_group_template_deployment.ase --> azurecaf_name.ase data.azurerm_app_service_environment_v3.ase --> azurecaf_name.ase data.azurerm_app_service_environment_v3.ase --> azurerm_resource_group_template_deployment.ase module.diagnostics --> azurerm_resource_group_template_deployment.ase null_resource.destroy_ase --> azurerm_resource_group_template_deployment.ase

Module Reference

Category: webapps
Path: modules/webapps/ase
Azure Resources: azurecaf_name, azurerm_private_dns_a_record, azurerm_resource_group_template_deployment, null_resource

Inputs

Name Description Type Required Default Validation
"tags" "(Required) Map of tags to apply to App Service Environment resources." any yes - -
"name" "(Required) Name of the App Service Environment" any yes - -
"kind" "(Required) Kind of resource. Possible value are ASEV2" any yes - -
"zone" "(Required) Availability Zone of resource. Possible value are 1, 2 or 3" any yes - -
"location" "(Required) Resource Location" any yes - -
"resource_group_name" "(Required) Resource group of the ASE" any yes - -
"subnet_id" "(Required) Name of the Virtual Network for the ASE" any yes - -
"subnet_name" "(Optional) Name of the subnet for template-based scenarios where subnet name is referenced in addition to subnet ID." any yes - -
"internalLoadBalancingMode" "(Optional) Internal load balancing mode for the App Service Environment (for example, internal publishing and/or int... any yes - -
"diagnostics" "(Optional) Diagnostics object consumed by module diagnostics integration when diagnostic profiles are configured." any no - -
"diagnostic_profiles" "(Optional) Map of diagnostic profile definitions to configure monitoring and logging for this deployment." any no {} -
"front_end_size" "Instance size for the front-end pool." any no "Standard_D1_V2" "front_end_size must be one of: Medium, Large, ExtraLarge, Standard_D2, Standard_D3, Standard_D4, Standard_D1_V2, Standard_D2_V2, Standard_D3_V2, Standard_D4_V2."
"front_end_count" "Number of instances in the front-end pool. Minimum of two." any no "2" -
"global_settings" "Global settings object (see module README.md)" any yes - -
"private_dns" "(Optional) Private DNS zones map used to create ASE private DNS A records when settings.private_dns_records is con... any no {} -
"settings" "The settings for the Azure resource." any yes - -
"base_tags" "Base tags for the resource to be inherited from the resource group." map(any) yes - -

Outputs

Name Description Sensitive Value
"id" "App Service Environment Resource Id" - data.azurerm_app_service_environment_v3.ase.id
"name" "App Service Environment Name" - azurecaf_name.ase.result
"internal_inbound_ip_addresses" - data.azurerm_app_service_environment_v3.ase.internal_inbound_ip_addresses
"subnet_id" - var.subnet_id
"zone" - var.zone
"a_records" - azurerm_private_dns_a_record.a_records

Sources

  • modules/webapps/ase/diagnostic.tf
  • modules/webapps/ase/locals.tf
  • modules/webapps/ase/locals_ase.tf
  • modules/webapps/ase/main.tf
  • modules/webapps/ase/module.tf
  • modules/webapps/ase/outputs.tf
  • modules/webapps/ase/private_dns_records.tf
  • modules/webapps/ase/variables.tf