Azure Onboard VM to update management

I have an Azure automation account linked to a log analytics workspace. The Azure automation account has Update management enabled.

I am struggling to find how to onboard VMs to the Azure automation via Terraform.

The azurerm provider - azurerm_windows_virtual_machine has enable_automatic_updates which appears only to be turning on the essential Windows update.

Is there a way to enable update management via the Azure automation account via TF (As in onboarding VMs into the update management solution)?

What do other people do in regards to updates?

1 Like

Hi is there any solution to this yet? or any idea on azure resource we can leverage? Thanks