avm-res-web-serverfarm

Azure/avm-res-web-serverfarm/azurerm

Terraform Module HCL AZURERM ✓ Verified

Terraform Azure Verified Resource Module for App Service Plan

Install
module "avm-res-web-serverfarm" {
source = "Azure/avm-res-web-serverfarm/azurerm"
version = "2.0.2"
}
⭐ Source on GitHub 📦 Registry page
README

terraform-azurerm-avm-res-web-serverfarm This is the web server farm (App Service Plan) resource module for the Azure Verified Modules library. This module deploys an App Service Plan (ASP). It leverages the AzureRM provider and sets a number of initial defaults to minimize the overall inputs for simple configurations. > [!IMPORTANT] > As the overall AVM framework is not GA (generally available) yet - the CI framework and test automation is not fully functional and implemented across all supported languages yet - breaking changes are expected, and additional customer feedback is yet to be gathered and incorporated. Hence, modules WILL NOT be published at version 1.0.0 or higher at this time. > > However, it is important to note that this DOES NOT mean that this module cannot be consumed an

Inputs (26)
NameTypeDescriptionDefault
locationstringThe location where the resources will be deployed. required
namestringThe name of the this resource. required
os_typestringThe operating system type of the service plan. Possible values are `Windows`, `L required
parent_idstringThe resource ID of the resource group in which to create this resource. required
plan_default_identityobject({ identity_type Optional: The default identity configuration for the Managed Instance App Servnull
premium_plan_auto_scale_enabledboolDefaults to false. Should elastic scale be enabled for this App Service Plan. Onfalse
rdp_enabledboolOptional: Whether RDP is enabled for the Managed Instance App Service Plan. Onlynull
registry_adapterslist(object({ registry_key Optional: A list of registry adapters associated with this App Service Plan. Onull
tagsmap(string)Tags of the resource.null
worker_countnumberThe number of workers to allocate for this App Service Plan. Defaults to `3`, wh3
app_service_environment_idstringOptional: The ID of the App Service Environment.null
install_scriptslist(object({ name = strin Optional: A list of install scripts to run on the Managed Instance App Servicenull
lockobject({ kind = string Controls the Resource Lock configuration for this resource. The following propnull
timeoutsobject({ create = optional The timeout configuration for azapi resources. The following properties can benull
virtual_network_subnet_idstringOptional: The resource ID of the subnet to integrate the App Service Plan with. null
diagnostic_settingsmap(object({ name = option A map of diagnostic settings to create on the App Service Environment (ASE). T{}
enable_telemetryboolThis variable controls whether or not telemetry is enabled for the module. For mtrue
maximum_elastic_worker_countnumberThe maximum number of total workers allowed for this ElasticScaleEnabled App Ser3
per_site_scaling_enabledboolShould per site scaling be enabled for this App Service Plan.false
retryobject({ error_message_reg The retry configuration for azapi resources. The following properties can be snull
server_farm_resource_typestringThe resource type for the server farm. Defaults to `Microsoft.Web/serverfarms`."Microsoft.Web/serverfarms@2025-03-01"
storage_mountslist(object({ name Optional: A list of storage mounts to configure on the App Service Plan. Only null
managed_identitiesobject({ system_assigned Controls the managed identity configuration on this resource. The following pr{}
role_assignmentsmap(object({ role_definiti A map of role assignments to create on the resource. The map key is deliberate{}
Outputs (2)
name — Name of the app service plan
resource_id — Resource id of the app service plan
Resources (3)
azapi_resourcemodtm_telemetryrandom_uuid
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.2
Cloud AZURERM
★ Stars14
Forks15
Total downloads219.6k
Inputs26
Outputs2
Resources3
Examples5
LicenseMIT
NamespaceAzure
Updated