Skip to content

Releases: Azure/terraform-azurerm-avm-res-web-site

v0.16.3

16 Apr 19:15
8fc3b55

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

  • further addressing bug for private ip configurations (#173)
  • implements logic for more accurate and non-breaking functionality for app service logs, specifically when application_logs / file_system_level is set to Off (#187)

Update(s)

None

Contributors

v0.16.2

10 Apr 18:08
24bc59a

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

  • incorporating logic for logicapp private endpoint and role assignment functionality addressing #189

Update(s)

None

Contributors

None

v0.16.1

09 Apr 19:48
13e770b

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

None

Update(s)

  • bug fix for slot private endpoints / private ip

Contributors

None

v0.16.0

02 Apr 18:12
0a8e622

Choose a tag to compare

Breaking Change(s)

Feature(s)

  • logic app standard functionality

Update(s)

  • updated auto_heal_enabled example
  • avm updates

Contributors

v0.15.2

25 Mar 18:55
0519c6f

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

None

Update(s)

  • adding custom_container example (addresses #169)
  • avm updates

Contributors

None

v0.15.1

07 Mar 15:23
b8dede4

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

None

Update(s)

  • adding zip_deploy_file example (addresses #123)

Contributors

None

v0.15.0

04 Mar 18:44
686da30

Choose a tag to compare

Breaking Change(s)

  • azurerm required version increased to 4.21.1 for azurerm_function_app_flex_consumption

Feature(s)

  • support for FC1 / azurerm_function_app_flex_consumption (addresses #159)

Update(s)

None

Contributors

None

v0.14.2

29 Jan 22:03
74e87f3

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

None

Update(s)

  • bugfix where additional_login_parameters was 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))
    .
    .
    .
  • bugfix to address issue where if app_service_name is 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.

  • bugfix to 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

v0.14.1

13 Jan 21:00
b48d98c

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

  • added new output system_assigned_mi_principal_id_slots for slots' principal id

Update(s)

None

v0.14.0

23 Dec 16:24
12534e1

Choose a tag to compare

BE AWARE - this version my introduce breaking changes to your existing configuration(s)

Breaking Change(s)

  • introducing feature that 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_insights object variable
  • new slot_application_insights_object_key variable

Update(s)

  • addressed bug where dotnet_core_version was missing from application_stack (Issue #146)
  • added the following to documentation of deployment_slots variable:

If you plan to use the attribute reference of an external Application Insights instance for application_insights_connection_string and application_insights_key, you will likely need to remove the sensitivity level. For example, using the nonsensitive function.

  • updated example / deploy_slots_with_interfaces to show different application insights instance deployment model.