A Terraform module to create a Windows virtual machine in Azure.
- By default create a single Windows 10, version 1903 IT Pro
- Generate password and store secret in key vault
- Allow only one source IP address to access remotely
- Auto-shutdown virtual machine by default
module "windows" {
source = "yusmadi/windows-vm/azurerm"
}
module "windows" {
source = "yusmadi/windows-vm/azurerm"
prefix = "mywindows"
location = "southeastasia"
address_space = ["10.0.0.0/16"]
address_prefix = "10.0.2.0/24"
my_public_ip_address = "13.15.17.19"
vm_size = "Standard_DS1_v2"
publisher = "MicrosoftWindowsDesktop"
offer = "Windows-10"
sku = "19h1-pro"
image_version = "latest"
}