-
Notifications
You must be signed in to change notification settings - Fork 571
[User Guide] Upgrade from v4.2.0 to v5.0.0
The v5.0.0
release makes the following breaking changes:
- Strict mode for subscription association is no longer default. This better aligns with subscription vending however please see explanatory notes below.
Existing module users should explicitly set strict_subscription_association
to true
in their calling module to ensure that the module continues to behave as it does now:
module "enterprise_scale" {
source = "Azure/caf-enterprise-scale/azurerm"
version = "5.0.0"
# Other variables omitted for brevity...
strict_subscription_association = true
}
For new users of the module we recommend that you leave strict_subscription_association
set to its new default of false
.
If you want to migrate from true
(the old defaut) to false
(the new default) then you will need to follow the steps below:
- Run terraform import for all the subscriptions associations managed by the module:
terraform import 'module.<YOUR_MODULE_REFERENCE>.azurerm_management_group_subscription_association.enterprise_scale["/providers/Microsoft.Management/managementGroups/<YOUR_MG>/subscriptions/<YOUR_SUBSCRIPTION_ID>"]' '/providers/Microsoft.Management/managementGroups/<YOUR_MG>/subscriptions/<YOUR_SUBSCRIPTION_ID>'
- docs: Fix documentation for recent policy updates by @jaredfholgate in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/798
- Update Library Templates (automated) by @cae-pr-creator in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/799
- Update ALZ Repo (Terraform) with Entra product names by @lachaves in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/805
- docs: fix policy enforcement override example by @jaredfholgate in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/808
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/807
- Bump tibdex/github-app-token from 1 to 2 by @dependabot in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/813
- Add Routing Intent by @luke-taylor in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/822
- Add Italy North and avoid casing issues by @jaredfholgate in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/834
- Add support for user managed identity for policy assignments by @LaurentLesle in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/806
- fix: revert user-assigned managed identity by @matt-FFFFFF in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/844
- feat: strict subs no longer default by @matt-FFFFFF in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/836
- Update dynamic overrides section for in and not_in by @MISO-mgriffin in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/840
- fix: bug-vpn_client_config by @gogondi1 in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/835
- Update Library Templates (automated) by @cae-pr-creator in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/827
- Remove Basic SKU requirement on AzureFirewallManagementSubnet by @ryan-royals in https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/845
Full Changelog: v4.2.0...v5.0.0
Take a look at the latest User Guide documentation and our Examples to understand the latest module configuration options, and review your implementation against the changes documented on this page.
If you're running into problems with the upgrade, please let us know via the GitHub Issues. We will do our best to point you in the right direction.
This wiki is being actively developed
If you discover any documentation bugs or would like to request new content, please raise them as an issue or feel free to contribute to the wiki via a pull request. The wiki docs are located in the repository in the docs/wiki/
folder.
- Home
- User guide
- Video guides
-
Examples
- Level 100
- Level 200
-
Level 300
- Deploy multi region networking with custom settings (Hub and Spoke)
- Deploy multi region networking with custom settings (Virtual WAN)
- Deploy with Zero Trust network principles (Hub and Spoke)
- Deploy identity resources with custom settings
- Deploy management resources with custom settings
- Expand built-in archetype definitions
- Create custom policies, initiatives and assignments
- Override module role assignments
- Control policy enforcement mode
- Policy assignments with user assigned managed identities
- Level 400
- Frequently Asked Questions
- Troubleshooting
- Contributing