diff --git a/services/active-directory/terraform/infrastructure/activeDirectoryInstances.tf b/services/active-directory/terraform/infrastructure/activeDirectoryInstances.tf index e2d73824..3109eed1 100644 --- a/services/active-directory/terraform/infrastructure/activeDirectoryInstances.tf +++ b/services/active-directory/terraform/infrastructure/activeDirectoryInstances.tf @@ -65,6 +65,7 @@ resource "azurerm_windows_virtual_machine" "active-directory-instance" { admin_username = var.active-directory-username admin_password = var.active-directory-password location = azurerm_resource_group.active-directory-resource-group.location + patch_mode = "AutomaticByPlatform" resource_group_name = azurerm_resource_group.active-directory-resource-group.name network_interface_ids = [azurerm_network_interface.nic-instances[count.index].id] size = "Standard_DS2_v2"