v2.0.0
Overview
With a wide array of pivotal changes in the codebase, this represents a major leap forward for AzOps reaching version 2.0.0 🎉
Key goals:
-
Significantly improve overall
Pull
performance.
See below screenshot for comparison between1.9.4
and2.0.0
in an environment with 1000+ subscriptions
-
Support Pull and Push of
zones
information.
Breaking Changes ❌
Description:
From this version, the logic for determining which resource groups to include has been updated to only consider SubscriptionIDs specified in the Core.SubscriptionsToIncludeResourceGroups
setting. In previous versions, the logic also took into account DisplayNames specified in this setting. As a result, users may notice changes in which resource groups are pulled back if currently filtering using DisplayName.
Reason:
The filter is intended to be deterministic, since display names can be duplicated, we have removed that part of the logic.
Significant changes ⚠️
- Please be advised that due to the change to
Az.ResourceGraph
, the data model has slightly changed. As a consequence, the first pull that runs on version 2.0.0 will generate a larger pull request than usual.
For that reason, if you are using the AzOps resource deletion feature for autogeneratedpolicyAssignments
,policyDefinitions
,policySetDefinitions
,policyExemptions
,roleDefinitions
androleAssignments
, it requires you to run an Pull on version 2.0 before initiating deletion. If not, you will receive the following error
Deletion is currently only supported for policyAssignments, policyDefinitions, policyExemptions, policySetDefinitions and roleAssignments. Will NOT proceed with deletion of file root/....
-
Also note that we have reduced the verbosity of some output in the module to optimize performance. If you want additional debug output, change the
Message.Info.Maximum
setting in settings.json to a higher level (up to 9) -
Autogenerated templates for
roleAssignments
will no longer include displayName for the assigned principal due to API changes.
Issues
- Public Ip; zones are removed on AzOpsPull command (#701)