From 77252bcc88052ab4cc98fa073ecf9f9d4fb25906 Mon Sep 17 00:00:00 2001 From: audunsolemdal Date: Wed, 6 Nov 2024 11:57:42 +0100 Subject: [PATCH] windows: default to server 2025 --- locals_images.tf | 12 ++++++++++++ variables.tf | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/locals_images.tf b/locals_images.tf index 1a95eca..adbffaf 100644 --- a/locals_images.tf +++ b/locals_images.tf @@ -49,6 +49,18 @@ locals { ## Windows ## windows_distribution_list = { + windows2025az = { + publisher = "MicrosoftWindowsServer" + offer = "WindowsServer" + sku = "2025-datacenter-azure-edition" + version = "latest" + } + windows2025azsmall = { + publisher = "MicrosoftWindowsServer" + offer = "WindowsServer" + sku = "2025-datacenter-azure-edition-smalldisk" + version = "latest" + } windows2022azhotpatch = { publisher = "MicrosoftWindowsServer" offer = "WindowsServer" diff --git a/variables.tf b/variables.tf index 7168690..5dad22c 100644 --- a/variables.tf +++ b/variables.tf @@ -104,7 +104,7 @@ variable "linux_distribution_name" { variable "windows_distribution_name" { type = string - default = "windows2022azhotpatch" + default = "windows2025az" description = "Variable to pick an OS flavour for Windows based VM." }