Home > Enterprise >  How to enable automaticRepairsPolicy for vmss via terraform
How to enable automaticRepairsPolicy for vmss via terraform

Time:03-04

I'm trying to enable "automaticRepairsPolicy" for my azure VMSS via terraform. I can't find the right option in azurerm documentation. Is there another way how to enable it? Maybe by creating a policy or adding an extension?

I'm grateful for any help!

CodePudding user response:

You are using a deprecated resource azurerm_virtual_machine_scale_set

As documentation says, rely on one of the below resources::

Above resources have automatic_instance_repair block where you can set them accordingly.

  • Related