Skip to content

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

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.

v0.13.0

22 Nov 17:30
4581dda

Choose a tag to compare

Breaking Change(s)

  • module supports azurerm 4.8.x and later versions
  • always_on defaults to true
  • ftps_state defaults to "FtpsOnly"
  • minimum_tls_version defaults to "1.3"

Feature(s)

None

Update(s)

  • examples uses regions 0.8.x and later versions
  • removed main.service_plan.tf and main.storage_account.tf
  • removed comments from variables.tf

v0.12.1

12 Nov 21:33
01f8953

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

  • addressing bug where slot.site_config was missing virtual_application block via Issue #140

Update(s)

  • .github/workflows upgrades

v0.12.0

07 Nov 17:09
1e34a91

Choose a tag to compare

Breaking Change(s)

PLEASE READ! Includes VERY IMPORTANT Breaking Changes

  • v0.12.0 will no longer support azurerm 3.xbut will now support azurerm 4.x

Feature(s)

  • azurerm 4.x support addressing Issue #122
  • enabling tls 1.3 support through azurerm 4.8 support (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 azurerm 4.x
    • docker_container_name (as part of application_stack)
    • docker_container_tag (as part of application_stack)
    • path (as part of slow_request. Please you slow_request_with_path if needed.)
    • auto_heal_enabled
  • login map made optional by module (still required by provider for auth_settings_v2) so that a default login map can be automatically set for auth_settings_v2 addressing Issue #130