sschoebinger
sschoebinger

Reputation: 99

How to enable automaticRepairsPolicy for vmss via terraform

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!

Upvotes: 0

Views: 146

Answers (1)

harshavmb
harshavmb

Reputation: 3872

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.

Upvotes: 1

Related Questions