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

latest releases: v0.21.8, v0.21.7, v0.21.6...
one month ago

Breaking Changes

This release is essentially a re-write of the module moving from azurerm to azapi in preparation for a V1 release. Unfortunately, due to the way azurerm resources are structured it was not possible to migrate to azapi in a non-breaking way. The breaking changes include:

  • Variable interfaces have been updated to more closely match the ARM API interface
  • Multiple azurerm resources for sites and slots have been consolidated into a 2 azapi resources
  • Due to this being a resource module, it should never have supported the management of Application Insights, so this has been removed from the module. It has been added to all the examples to show how to use it though.

Given these changes, it was not possible for us to support a seamless migration path with moved blocks.

Customers migrating to v0.21.0 need to:

  1. Update the module version
  2. Run terraform init
  3. Run terraform plan
  4. Update module inputs to match the updated variables and run terraform plan again until validation passes
  5. Identify which resources in the plan are going to be destroyed and recreated
  6. For each resource you wish to retain and don't wish to destroy and recreate, add a moved block
  7. For application insights, you'll need to create or leverage an existing log analytics workspace and create a new application insights resource in your desired state. Leverage these modules for that purpose: https://registry.terraform.io/modules/Azure/avm-res-insights-component/azurerm/latest and https://registry.terraform.io/modules/Azure/avm-res-operationalinsights-workspace/azurerm/latest. You'll then need to add a moved block if you don't wish to destroy and recreate it

We appreciate this update will result in significant effort for some customers and apologise for that. However, we needed to get to this module structure in order to support all features of app service, function apps, and logic apps moving forward as well as being able to get to the v1 release.

What's Changed

New Contributors

Full Changelog: v0.20.0...v0.21.0

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

NewReleases is sending notifications on new releases.