Skip to content

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

v0.7.2

03 Jul 17:50
052f56b

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

  • lock functionality for function_app_storage_account
  • lock functionality for deployment_slots
  • deployment_slots_inherit_lock defaults to true
  • function_app_storage_account_inherit_lock defaults to true

Update(s)

  • output for the following:
    • deployment_slot_locks
    • private_endpoint_locks
    • resource_lock
    • storage_account_lock

v0.7.1

25 Jun 00:37
c74259d

Choose a tag to compare

Breaking Change(s)

None

Feature(s)

  • output for system_assigned_mi_principal_id via RMFR7
  • private_endpoints functionality with deployment_slots via Issue #88
  • role_assignments functionality with deployment_slots
  • lock functionality with function_app_storage_account

Update(s)

  • added examples/deployment_slot
  • added examples/deployment_slot_with_interfaces
  • added examples/ip_restriction via Issue #85

v0.7.0

21 Jun 17:30
84cdbdb

Choose a tag to compare

Breaking Change(s)

  • terraform required version set to ~>1.6
  • variable client_certificate_mode now defaults to Required to match azurerm resource provider (previously Optional)

Features

  • Deployment Slots via #64
  • outputs for web_app_deployment_slots and web_app_active_slot
  • outputs for identity_principal_id via #84

Update(s)

  • added validation for auto_heal_enabled
    • only set auto_heal_enabled to true if configuring auto_heal_setting block
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_setting if auto_heal_enabled is set to true or configuration will result in provider issue

  • added examples / auto_heal_enabled via #77
  • added examples / slot
  • module call for avm_res_storage_storageaccount uses enable_telemetry as 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

v0.6.3

12 Jun 20:25
ce08884

Choose a tag to compare

  • addressing module/provider issue where if auto_heal_enabled was set to true or false, user was still expected to populate auto_heal_setting via Issue #77
    • terraform provider requires user to specify auto_heal_setting if auto_heal_enabled is not set to null in configuration.
    • added conditional that if auto_heal-enabled is not set to true, resolves to null to avoid provider error.
  • bug fixes regarding functionality for dynamic action in auto_heal_setting

bug:

action_type = auto_heal_setting.value.action_type
minimum_process_execution_time = auto_heal_setting.value.minimum_process_execution_time

solution:

action_type                    = auto_heal_setting.value.action.action_type
minimum_process_execution_time = auto_heal_setting.value.action.minimum_process_execution_time

v0.6.2

05 Jun 00:27
698ed94

Choose a tag to compare

  • addressing fix for backup where argument incorrectly referenced as retention_period_in_days instead of retention_in_days

v0.6.1

04 Jun 22:58
bf9ca0f

Choose a tag to compare

  • fixes logic for ftps_state affecting ftp_publish_basic_authentication_enabled and webdeploy_publish_basic_authentication_enabled for azurerm_windows_function_app, azurerm_linux_web_app, and azurerm_windows_web_app
  • adds logic for storage_account_name concerning linux function app
storage_account_name                     = var.function_app_create_storage_account ? module.avm_res_storage_storageaccount[0].name : var.function_app_storage_account_name`
  • added example \ basic_auth for basic authentication

v0.6.0

03 Jun 15:32
20e78a8

Choose a tag to compare

  • Module to reference v0.1.2 of avm_res_storage_storageaccount module (source) via Issue #67
    • added optional argument for location for function_app_storage_account variable
    • location will resolve to the location of the function app if not supplied in function_app_storage_account object
  • addressed logic for webdeploy_publish_basic_authentication_enabled that only allowed for configuration if ftps_state was set to "AllAllowed" via Issue #71
Initial condition:

webdeploy_publish_basic_authentication_enabled = var.site_config.ftps_state == "AllAllowed" ? var.webdeploy_publish_basic_authentication_enabled : false

Current condition:

webdeploy_publish_basic_authentication_enabled = var.site_config.ftps_state == "Disabled" ? false : var.webdeploy_publish_basic_authentication_enabled
  • addressing bug where dynamic custom_oidc_v2 blocks reference authorisation_endpoint but custom_oidc_v2 object had authorization_endpoint instead via Issue #66
  • addressing bug where optional arguments within auth_settings_v2 were resolving to null instead of empty maps / objects, which caused errors via Issue #69
    • active_directory_v2
    • apple_v2
    • azure_static_web_app_v2
    • custom_oidc_v2
    • facebook_v2
    • github_v2
    • google_v2
    • twitter_v2

v0.5.0

16 May 22:05
eaf616f

Choose a tag to compare

  • virtual_application default supported in site_config for azurerm_windows_web_app:
    • This is to address the following issues:
      • Issue #52
      • Provider Issue where always_on is toggled off but provider attempts to add default virtual_application on plan/apply after initial apply.
  • headers to type map(object) instead of object
    • Addresses Issue #53
  • removal of logic for "APPLICATIONINSIGHTS_CONNECTION_STRING" and "APPINSIGHTS_INSTRUMENTATIONKEY" in app_settings for azurerm_(windows|linux)_function_app
    • Addresses Issue #55 / Issue #56
    • use arguments application_insights_connection_string and application_insights_key in site_config variable as provider will set "APPLICATIONINSIGHTS_CONNECTION_STRING" and "APPINSIGHTS_INSTRUMENTATIONKEY" keys in app_settings accordingly

v0.4.0

06 May 19:24
6d31fa8

Choose a tag to compare

  • fixing bug where module references to undeclared resource:
    • ip_restriction dynamic block that wrongly references scm_ip_restriction instead of ip_restriction
  • addresses addition feature capabilities for new_service_plan:
    • maximum_elastic_worker_count
    • per_site_scaling_enabled
    • worker_count
    • zone_balancing_enabled

v0.3.0

19 Apr 19:04
a75310d

Choose a tag to compare

  • APRL recommendation:
    • Application Insights enabled by default (via enable_application_insights)
  • Linting fixes for interfaces:
    • managed_identites:
      • nullable set to false
    • private_endpoints:
      • removed inherit_lock argument
      • removed inherit_tags argument
      • nullable set to false
    • lock:
      • kind is required argument
      • default set to null instead of {}
      • removed None as valid values for kind
    • role_assignments:
      • nullable set to false
    • tags:
      • type set to map(string) instead of map(any)
      • default set to null instead of {}
  • Deprecated variables/arguments:
    • inherit_lock argument in private_endpoints
    • inherit_tags argument in private_endpoints
  • New variables:
    • all_child_resources_inherit_tags
    • all_child_resources_inherit_lock
    • private_endpoints_inherit_lock
    • private_endpoints_manage_dns_zone_group