Releases: Azure/terraform-azurerm-avm-res-web-site
Releases · Azure/terraform-azurerm-avm-res-web-site
v0.16.0
v0.15.2
v0.15.1
v0.15.0
v0.14.2
Breaking Change(s)
None
Feature(s)
None
Update(s)
bugfixwhereadditional_login_parameterswas set to accept a list of string where provide expects a map of string (addresses Issue #157)
variable "auth_settings" {
type = map(object({
additional_login_parameters = optional(list(string)) ------> additional_login_parameters = optional(map(string))
.
.
.
bugfixto address issue where ifapp_service_nameis not explicitly set, module references name that will cause error (addresses Issue #156)
Before:
app_service_name = coalesce(each.value.app_service_name, "${var.name}-asp")
After:
app_service_name = coalesce(each.value.app_service_name, var.name, "${var.name}-asp")
NOTE: Will likely remove "${var.name}-asp" in the future.
bugfixto properly add tags for slot private endpoints
Before:
tags = var.all_child_resources_inherit_tags ? merge(var.tags, each.value.pe_value.tags) : each.value.tags
After:
tags = var.all_child_resources_inherit_tags ? merge(var.tags, each.value.pe_value.tags) : each.value.pe_value.tags
Contributors
- @niekvanraaij (PR #155)
v0.14.1
v0.14.0
BE AWARE - this version my introduce breaking changes to your existing configuration(s)
Breaking Change(s)
- introducing
featurethat allows for different application insights for slots via Issue #145, involving changes to logic regarding the application insights for deployment slots
CODE:
Function App Slots
application_insights_connection_string = var.enable_application_insights ? (each.value.site_config.slot_application_insights_object_key != null ? coalesce(each.value.site_config.application_insights_connection_string, azurerm_application_insights.slot[each.value.site_config.slot_application_insights_object_key].connection_string, azurerm_application_insights.this[0].connection_string) : coalesce(each.value.site_config.application_insights_connection_string, azurerm_application_insights.this[0].connection_string)) : null application_insights_key = var.enable_application_insights ? (each.value.site_config.slot_application_insights_object_key != null ? coalesce(each.value.site_config.application_insights_key, azurerm_application_insights.slot[each.value.site_config.slot_application_insights_object_key].instrumentation_key, azurerm_application_insights.this[0].instrumentation_key) : coalesce(each.value.site_config.application_insights_key, azurerm_application_insights.this[0].instrumentation_key)) : null
Web App Slots
app_settings = var.enable_application_insights ? merge({ "APPLICATIONINSIGHTS_CONNECTION_STRING" = (each.value.site_config.slot_application_insights_object_key != null ? coalesce(each.value.site_config.application_insights_connection_string, azurerm_application_insights.slot[each.value.site_config.slot_application_insights_object_key].connection_string, azurerm_application_insights.this[0].connection_string) : coalesce(each.value.site_config.application_insights_connection_string, azurerm_application_insights.this[0].connection_string)) }, { "APPINSIGHTS_INSTRUMENTATIONKEY" = (each.value.site_config.slot_application_insights_object_key != null ? coalesce(each.value.site_config.application_insights_key, azurerm_application_insights.slot[each.value.site_config.slot_application_insights_object_key].instrumentation_key, azurerm_application_insights.this[0].instrumentation_key) : coalesce(each.value.site_config.application_insights_key, azurerm_application_insights.this[0].instrumentation_key)) }, each.value.app_settings) : each.value.app_settings
Feature(s)
- new
slot_application_insightsobject variable - new
slot_application_insights_object_keyvariable
Update(s)
- addressed bug where
dotnet_core_versionwas missing fromapplication_stack(Issue #146) - added the following to documentation of
deployment_slotsvariable:
If you plan to use the attribute reference of an external Application Insights instance for
application_insights_connection_stringandapplication_insights_key, you will likely need to remove the sensitivity level. For example, using thenonsensitivefunction.
- updated
example/deploy_slots_with_interfacesto show different application insights instance deployment model.
v0.13.0
Breaking Change(s)
- module supports
azurerm4.8.xand later versions always_ondefaults totrueftps_statedefaults to"FtpsOnly"minimum_tls_versiondefaults to"1.3"
Feature(s)
None
Update(s)
examplesusesregions0.8.xand later versions- removed
main.service_plan.tfandmain.storage_account.tf - removed comments from
variables.tf
v0.12.1
v0.12.0
Breaking Change(s)
PLEASE READ! Includes VERY IMPORTANT Breaking Changes
v0.12.0will no longer supportazurerm3.xbut will now supportazurerm4.x
Feature(s)
azurerm4.xsupport addressing Issue #122- enabling tls
1.3support throughazurerm4.8support (Issue #136)
Update(s)
- bug fixes to unmanaged private endpoints with deployment slots as highlighted in PR #129
- arguments removed as no longer supported by
azurerm4.xdocker_container_name(as part ofapplication_stack)docker_container_tag(as part ofapplication_stack)path(as part ofslow_request. Please youslow_request_with_pathif needed.)auto_heal_enabled
loginmap made optional by module (still required by provider forauth_settings_v2) so that a defaultloginmap can be automatically set forauth_settings_v2addressing Issue #130