diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bcb8c4..9c1dc05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## v0.6.9 + +Features: + +For the Windows vms: + - Added vars identity_type, identity_ids to configure Managed Service Identity + - Added var aad_login_for_windows to join the vms to Azure Active Directory + ## v0.6.8 Features: diff --git a/README.md b/README.md index a853961..31ed182 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Deploys: ```hcl +# Linux vm example module "my_module" { source = "oraziobattaglia/compute/azurerm" @@ -90,4 +91,38 @@ module "my_module" { linux_cs_command = "bash customize_linux.bash" } +# Windows vm example +module "my_module" { + source = "oraziobattaglia/compute/azurerm" + + location = var.location + resource_group = var.resource_group + virtual_machine_instances = "1" + virtual_machine_names = ["my_vm"] + subnet_id = var.subnet_id + private_ip_address_allocation = "Dynamic" + + is_windows = true + + vm_size = "Standard_B2ms" + storage_account_type = "StandardSSD_LRS" + + vm_os_publisher = "microsoftwindowsdesktop" + vm_os_offer = "windows-11" + vm_os_sku = "win11-22h2-pro" + vm_os_version = "latest" + + admin_username = var.admin_username + admin_password = var.admin_password + + boot_diagnostics = false + backup_enabled = false + customize = false + join = false + + identity_type = "SystemAssigned" + aad_login_for_windows = true + +} + ```