Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Feb 11:54
· 67 commits to main since this release
0044809

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:

  1. Significantly improve overall Pull performance.
    See below screenshot for comparison between 1.9.4 and 2.0.0 in an environment with 1000+ subscriptions
    AzOps-2 0-baseline

  2. 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 autogenerated policyAssignments, policyDefinitions, policySetDefinitions, policyExemptions, roleDefinitions and roleAssignments, 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

Enhancements 

  • AzOps - Discovery Performance Issues (#438)
  • Updating Settings.json and Pull pipeline fails (#699)
  • Pull pipeline removing the metadata from policy exemptions and assignment file (#742)