azurenoops / terraform-azurerm-overlays-virtual-machine

Terraform module overlay to deploy single or multiple SCCA compliant Virtual Machines of Linux or Windows with optional features to be used with Azure NoOps.
MIT License
1 stars 1 forks source link

Spot instances #23

Closed cnb2412 closed 11 months ago

cnb2412 commented 1 year ago

Describe your changes

Exposed the proper arguments of azurerm_linux_virtual_machine and azurerm_windows_virtual_machine terraform resources, in order to allow for creating spot instances.

Also required variables have been added to the variables.virtual.machine.tf, so that a module user can configure spot instances like described in the referenced issue.

Issue number

19

Checklist before requesting a review

(Sorry, I didn't execute neither the pre-commit nor the pr-check, as I couldn't find them or any other reference to them.)