2025-07-02 13:31:15 +02:00
|
|
|
locals {
|
|
|
|
|
image_properties_map = {
|
|
|
|
|
"win22" = {
|
2026-01-12 13:53:29 +01:00
|
|
|
source_image_marketplace_sku = "MicrosoftWindowsServer:WindowsServer:2022-Datacenter-g2"
|
2025-11-27 15:36:32 +01:00
|
|
|
os_disk_size_gb = 256
|
2025-07-02 13:31:15 +02:00
|
|
|
},
|
|
|
|
|
"win25" = {
|
2026-01-16 14:30:50 +01:00
|
|
|
source_image_marketplace_sku = "MicrosoftWindowsServer:WindowsServer:2025-Datacenter-g2"
|
2025-11-27 15:36:32 +01:00
|
|
|
os_disk_size_gb = 150
|
2026-02-06 10:59:14 +01:00
|
|
|
},
|
|
|
|
|
"win25-vs2026" = {
|
|
|
|
|
source_image_marketplace_sku = "MicrosoftWindowsServer:WindowsServer:2025-Datacenter-g2"
|
|
|
|
|
os_disk_size_gb = 150
|
2025-07-02 13:31:15 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-27 15:36:32 +01:00
|
|
|
source_image_marketplace_sku = local.image_properties_map[var.image_os].source_image_marketplace_sku
|
|
|
|
|
os_disk_size_gb = coalesce(var.os_disk_size_gb, local.image_properties_map[var.image_os].os_disk_size_gb)
|
2025-07-02 13:31:15 +02:00
|
|
|
}
|