Releases: Azure/terraform-azurerm-avm-res-web-site
v0.11.0
Breaking Change(s)
PLEASE READ! Includes VERY IMPORTANT Breaking Changes
- module no longer supports the creation and management of
App Service Plan- removed the following variables:
create_service_plannew_service_plan
- removed related outputs:
service_planservice_plan_idservice_plan_name
- removed the following variables:
Users will need to reference an app service plan using
service_plan_resource_id, thus making it arequiredinput.
- module no longer supports the creation and management of
Storage AccountforFunction App- removed the following variables:
function_app_create_storage_accountfunction_app_storage_accountfunction_app_storage_account_access_keyfunction_app_storage_account_inherit_lockfunction_app_storage_account_namefunction_app_storage_uses_managed_identity
- removed related outputs:
storage_accountstorage_account_lock
- removed the following variables:
Users can still supply an existing storage account using
storage_account_access_key(orstorage_uses_managed_identity) andstorage_account_name.
Terraformminimum required version raised to1.9
Feature(s)
None
Update(s)
fix: addressing Issue #120 whereazurerm_windows_function_appsite configwas missingip_restriction_default_actionandscm_ip_restriction_default_action- improvements variable documentation
v0.10.0
Breaking Change(s)
- migration to version
0.1.0ofavm-res-web-serverfarmfromazurerm_service_plan - removed certain outputs regarding
service_plan
Feature(s)
- added addtitional support for
avm-res-storage-storageaccountinputs - added additional support for
new_service_planvariable
Update(s)
- module now uses version
0.2.4ofavm-res-storage-storageaccount x_fd_health_probeto properly work when usingip_restriction/scm_ip_restrictionand Azure Front Door- module is now configured to zone redundant by default
worker_countdefaults to3zone_balancing_enableddefaults totruesku_namedefaults toP1v2
v0.9.1
Breaking Change(s)
None
Feature(s)
None
Update(s)
- updates for github policies and workflows
- removed providers from yml templates and markdown documentation
- removed examples for:
linux_function_applinux_web_appwindows_function_appwindows_web_app
- created examples for:
function_appweb_app
v0.9.0
v0.8.1
Breaking Change(s)
None
Feature(s)
azurerm_app_service_slot_custom_hostname_bindingnow supportsazurerm_[windows|linux]_web_app_slot
Previous Logic:
app_service_slot_id = var.os_type == "Windows" ? azurerm_windows_function_app_slot.this[each.value.app_service_slot_key].id : azurerm_linux_function_app_slot.this[each.value.app_service_slot_key].id
Current Logic:
app_service_slot_id = var.kind == "functionapp" ? (var.os_type == "Windows" ? azurerm_windows_function_app_slot.this[each.value.app_service_slot_key].id : azurerm_linux_function_app_slot.this[each.value.app_service_slot_key].id) : (var.os_type == "Windows" ? azurerm_windows_web_app_slot.this[each.value.app_service_slot_key].id : azurerm_linux_web_app_slot.this[each.value.app_service_slot_key].id)
thumbprintcan now reference existing thumbprint value withthumbprint_value
Previous Logic:
thumbprint = azurerm_app_service_certificate.this[each.value.thumbprint_key].thumbprint
Current Logic:
thumbprint = each.value.thumbprint_key != null ? azurerm_app_service_certificate.this[each.value.thumbprint_key].thumbprint : each.value.thumbprint_value
Update(s)
thumbprintsas newoutput- cleaning
exmples/cusom_domain/main.tffile
v0.8.0
Breaking Change(s)
- new mapping for
azurerm_app_service_custom_hostname_binding
will likely affect any configurations with existing custom domains managed by terraform
Feature(s)
- functionality for custom domains for deployment slots using
azurerm_app_service_slot_custom_hostname_bindingresource via Issue #101.
uses
slot_as_targetincustom_domainsas toggle to differentiate betweenazurerm_app_service_custom_hostname_bindingandazurerm_app_service_slot_custom_hostname_binding
azurerm_app_service_certificateto acceptkey_vault_idargument via Issue #102
Update(s)
- additional outputs added for:
function_app_active_slotfunction_app_deployment_slotskindos_type
v0.7.3
Breaking Change(s):
None
Feature(s):
- new telemetry
- transition to use of
modtmprovider (view here) - removed
locals.telemetry.tf - removed
locals.telemetry.tf.json
- transition to use of
Update(s):
- added
examples/storage_uses_managed_identity - fixed logic for
storage_uses_managed_identityforazurerm_(windows | linux)_function_appvia Issue #96
Previous:
storage_uses_managed_identity = var.function_app_storage_uses_managed_identity == true && var.function_app_storage_account_access_key == null && var.function_app_storage_account == null ? var.function_app_storage_uses_managed_identity : null
Current:
storage_uses_managed_identity = var.function_app_storage_uses_managed_identity == true && var.function_app_storage_account_access_key == null ? var.function_app_storage_uses_managed_identity : null
- updated logic for
azurerm_linux_function_appandazurerm_linux_function_app_slotto account for created storage account's access key
storage_account_access_key = var.function_app_storage_account_access_key != null && var.function_app_storage_uses_managed_identity != true && var.function_app_create_storage_account != true ? var.function_app_storage_account_access_key : var.function_app_storage_account_access_key == null && var.function_app_storage_uses_managed_identity != true && var.function_app_create_storage_account ? module.avm_res_storage_storageaccount[0].resource.primary_access_key : null
v0.7.2
Breaking Change(s)
None
Feature(s)
lockfunctionality forfunction_app_storage_accountlockfunctionality fordeployment_slotsdeployment_slots_inherit_lockdefaults totruefunction_app_storage_account_inherit_lockdefaults totrue
Update(s)
outputfor the following:deployment_slot_locksprivate_endpoint_locksresource_lockstorage_account_lock
v0.7.1
Breaking Change(s)
None
Feature(s)
- output for
system_assigned_mi_principal_idvia RMFR7 private_endpointsfunctionality withdeployment_slotsvia Issue #88role_assignmentsfunctionality withdeployment_slotslockfunctionality withfunction_app_storage_account
Update(s)
- added
examples/deployment_slot - added
examples/deployment_slot_with_interfaces - added
examples/ip_restrictionvia Issue #85
v0.7.0
Breaking Change(s)
terraformrequired version set to~>1.6- variable
client_certificate_modenow defaults toRequiredto matchazurermresource provider (previouslyOptional)
Features
- Deployment Slots via #64
- outputs for
web_app_deployment_slotsandweb_app_active_slot - outputs for
identity_principal_idvia #84
Update(s)
- added validation for
auto_heal_enabled- only set
auto_heal_enabledtotrueif configuringauto_heal_settingblock
- only set
validation {
condition = var.site_config.auto_heal_enabled != null && var.site_config.auto_heal_enabled != true ? contains([true, null], var.site_config.auto_heal_enabled) : true
error_message = "The value of `auto_heal_enabled` can only be set to `true` or `null`."
}
Only set
auto_heal_settingifauto_heal_enabledis set totrueor configuration will result in provider issue
- added
examples/auto_heal_enabledvia #77 - added
examples/slot - module call for
avm_res_storage_storageaccountusesenable_telemetryas toggle - configured conditional output for managed and unmanaged private dns zone groups regarding
azurerm_private_endpoints(output)
var.private_endpoints_manage_dns_zone_group ? azurerm_private_endpoint.this : azurerm_private_endpoint.this_unmanaged_dns_zone_groups