Skip to content

Cannot install VM with 'Server 2019 Data Science VM' or 'Server 2022 Data Science VM' image #4963

Description

@jonnyry

Attempt to create a workspace user Windows VM using one of the two Data Science VM images and the install fails with the following error:

The given key does not identify an element in this collection value.

The issue appears to be caused by the image names in template_schema.json:

"enum": [
"Windows 11",
"Server 2019 Data Science VM",
"Server 2022 Data Science VM"
]

not matching the image names in porter.yaml:

image_options:
"Windows 11":
source_image_reference:
publisher: microsoftwindowsdesktop
offer: windows-11
sku: win11-25h2-pro
version: latest
conda_config: false
secure_boot_enabled: true
vtpm_enabled: true
"Windows Server 2025":
source_image_reference:
publisher: MicrosoftWindowsServer
offer: WindowsServer
sku: 2025-datacenter-g2
version: latest
conda_config: false
secure_boot_enabled: true
vtpm_enabled: true

Windows 11 is unaffected, as it is listed in both.

Please also see other Windows based user resource VM templates.

Metadata

Metadata

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions