Azure / terraform-azurerm-virtual-machine

Terraform Azure RM Virtual Machine Module
MIT License
36 stars 36 forks source link

Support for `bypass_platform_safety_checks_on_user_schedule_enabled` and `reboot_setting` #65

Closed davidkarlsen closed 8 months ago

davidkarlsen commented 9 months ago

Is there an existing issue for this?

Description

It would be good to control the bypass_platform_safety_checks_on_user_schedule_enabled and reboot_setting flags. We have custom RHEL boxes that we want to auto-patch.

New or Affected Resource(s)/Data Source(s)

azurerm_linux_virtual_machine

Potential Terraform Configuration

var.reboot_setting = "IfRequired"
var.bypass_platform_safety_checks_on_user_schedule_enabled = true

References

No response

davidkarlsen commented 9 months ago

@lonegunmanb WDYT?

davidkarlsen commented 8 months ago

Fixed in #66