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 for the deployment 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 any yes - -
internalLoadBalancingMode any yes - -
diagnostics any no - -
diagnostic_profiles any no {} -
front_end_size Instance size for the front-end pool. any no Standard_D1_V2 Only Medium, Large or ExtraLarge is supported.
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 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