github Azure/terraform-azurerm-avm-res-web-site v0.7.0

latest releases: v0.21.8, v0.21.7, v0.21.6...
22 months ago

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

Don't miss a new terraform-azurerm-avm-res-web-site release

NewReleases is sending notifications on new releases.