qbeyond / terraform-azurerm-archetype-lib

Repository with q.beyond designed Azure-archetypes, including policies
MIT License
0 stars 0 forks source link

Added policy for AMA upgrade #21

Closed QBY-MarkusMaring closed 8 months ago

QBY-MarkusMaring commented 8 months ago

Description

This PR adds a policy set which targets VMs, VMSSs and Arc machines. For all these resources the following happens:

Where possible Microsoft built-in policies were used. These policies include a filter written by Microsoft that determines if a OS is supported. This filter can be disabled if needed, but can't be edited.

Our custom policies use a more advanced filter that can be set using parameters. The default behavior when no parameters are set will not filter at all and will instead attempt to deploy the agent on every machine.

In the future we could consider using only custom policies with this advanced filter.

This PR will also disable the previous policy which installed the old Agent (MMA).

Change overview (tick true):

Version information:

How Has This Been Tested?

Checklist: