stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
Returns a list of supported Kubernetes machine image versions for the cluster nodes.
Example Usage
data "stackit_ske_machine_image_versions" "example" {
version_state = "SUPPORTED"
}
locals {
flatcar_supported_version = one(flatten([
for mi in data.stackit_ske_machine_image_versions.example.machine_images : [
for v in mi.versions :
v.version
if mi.name == "flatcar" # or ubuntu
]
]))
}
resource "stackit_ske_cluster" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example"
kubernetes_version = "x.x"
node_pools = [
{
name = "np-example"
machine_type = "x.x"
os_version = local.flatcar_supported_version
os_name = "flatcar"
minimum = "2"
maximum = "3"
availability_zones = ["eu01-1"]
volume_type = "storage_premium_perf6"
volume_size = "48"
}
]
}
Using getSkeMachineImageVersions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSkeMachineImageVersions(args: GetSkeMachineImageVersionsArgs, opts?: InvokeOptions): Promise<GetSkeMachineImageVersionsResult>
function getSkeMachineImageVersionsOutput(args: GetSkeMachineImageVersionsOutputArgs, opts?: InvokeOptions): Output<GetSkeMachineImageVersionsResult>def get_ske_machine_image_versions(region: Optional[str] = None,
version_state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSkeMachineImageVersionsResult
def get_ske_machine_image_versions_output(region: Optional[pulumi.Input[str]] = None,
version_state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSkeMachineImageVersionsResult]func GetSkeMachineImageVersions(ctx *Context, args *GetSkeMachineImageVersionsArgs, opts ...InvokeOption) (*GetSkeMachineImageVersionsResult, error)
func GetSkeMachineImageVersionsOutput(ctx *Context, args *GetSkeMachineImageVersionsOutputArgs, opts ...InvokeOption) GetSkeMachineImageVersionsResultOutput> Note: This function is named GetSkeMachineImageVersions in the Go SDK.
public static class GetSkeMachineImageVersions
{
public static Task<GetSkeMachineImageVersionsResult> InvokeAsync(GetSkeMachineImageVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetSkeMachineImageVersionsResult> Invoke(GetSkeMachineImageVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSkeMachineImageVersionsResult> getSkeMachineImageVersions(GetSkeMachineImageVersionsArgs args, InvokeOptions options)
public static Output<GetSkeMachineImageVersionsResult> getSkeMachineImageVersions(GetSkeMachineImageVersionsArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getSkeMachineImageVersions:getSkeMachineImageVersions
arguments:
# arguments dictionaryThe following arguments are supported:
- Region string
- Region override. If omitted, the provider’s region will be used.
- Version
State string - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- Region string
- Region override. If omitted, the provider’s region will be used.
- Version
State string - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- region String
- Region override. If omitted, the provider’s region will be used.
- version
State String - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- region string
- Region override. If omitted, the provider’s region will be used.
- version
State string - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- region str
- Region override. If omitted, the provider’s region will be used.
- version_
state str - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- region String
- Region override. If omitted, the provider’s region will be used.
- version
State String - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
getSkeMachineImageVersions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Machine
Images List<GetSke Machine Image Versions Machine Image> - Supported machine image types and versions.
- Region string
- Region override. If omitted, the provider’s region will be used.
- Version
State string - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- Id string
- The provider-assigned unique ID for this managed resource.
- Machine
Images []GetSke Machine Image Versions Machine Image - Supported machine image types and versions.
- Region string
- Region override. If omitted, the provider’s region will be used.
- Version
State string - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- id String
- The provider-assigned unique ID for this managed resource.
- machine
Images List<GetSke Machine Image Versions Machine Image> - Supported machine image types and versions.
- region String
- Region override. If omitted, the provider’s region will be used.
- version
State String - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- id string
- The provider-assigned unique ID for this managed resource.
- machine
Images GetSke Machine Image Versions Machine Image[] - Supported machine image types and versions.
- region string
- Region override. If omitted, the provider’s region will be used.
- version
State string - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- id str
- The provider-assigned unique ID for this managed resource.
- machine_
images Sequence[GetSke Machine Image Versions Machine Image] - Supported machine image types and versions.
- region str
- Region override. If omitted, the provider’s region will be used.
- version_
state str - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
- id String
- The provider-assigned unique ID for this managed resource.
- machine
Images List<Property Map> - Supported machine image types and versions.
- region String
- Region override. If omitted, the provider’s region will be used.
- version
State String - Filter returned machine image versions by their state. Possible values are:
SUPPORTED.
Supporting Types
GetSkeMachineImageVersionsMachineImage
- Name string
- Name of the OS image (e.g.,
ubuntuorflatcar). - Versions
List<Get
Ske Machine Image Versions Machine Image Version> - Supported versions of the image.
- Name string
- Name of the OS image (e.g.,
ubuntuorflatcar). - Versions
[]Get
Ske Machine Image Versions Machine Image Version - Supported versions of the image.
- name String
- Name of the OS image (e.g.,
ubuntuorflatcar). - versions
List<Get
Ske Machine Image Versions Machine Image Version> - Supported versions of the image.
- name string
- Name of the OS image (e.g.,
ubuntuorflatcar). - versions
Get
Ske Machine Image Versions Machine Image Version[] - Supported versions of the image.
- name str
- Name of the OS image (e.g.,
ubuntuorflatcar). - versions
Sequence[Get
Ske Machine Image Versions Machine Image Version] - Supported versions of the image.
- name String
- Name of the OS image (e.g.,
ubuntuorflatcar). - versions List<Property Map>
- Supported versions of the image.
GetSkeMachineImageVersionsMachineImageVersion
- Cris List<string>
- Container runtimes supported (e.g.,
containerd). - Expiration
Date string - Expiration date of the version in RFC3339 format.
- State string
- State of the image version.
- Version string
- Machine image version string.
- Cris []string
- Container runtimes supported (e.g.,
containerd). - Expiration
Date string - Expiration date of the version in RFC3339 format.
- State string
- State of the image version.
- Version string
- Machine image version string.
- cris List<String>
- Container runtimes supported (e.g.,
containerd). - expiration
Date String - Expiration date of the version in RFC3339 format.
- state String
- State of the image version.
- version String
- Machine image version string.
- cris string[]
- Container runtimes supported (e.g.,
containerd). - expiration
Date string - Expiration date of the version in RFC3339 format.
- state string
- State of the image version.
- version string
- Machine image version string.
- cris Sequence[str]
- Container runtimes supported (e.g.,
containerd). - expiration_
date str - Expiration date of the version in RFC3339 format.
- state str
- State of the image version.
- version str
- Machine image version string.
- cris List<String>
- Container runtimes supported (e.g.,
containerd). - expiration
Date String - Expiration date of the version in RFC3339 format.
- state String
- State of the image version.
- version String
- Machine image version string.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
stackit v0.0.4 published on Friday, Feb 20, 2026 by stackitcloud
