diff --git a/cli/internal/cmd/configinstancetypes.go b/cli/internal/cmd/configinstancetypes.go index 0d768d2b1..555ad5bb2 100644 --- a/cli/internal/cmd/configinstancetypes.go +++ b/cli/internal/cmd/configinstancetypes.go @@ -38,6 +38,8 @@ Azure Trusted Launch instance types: %v GCP instance types: %v +STACKIT instance types: +%v `, formatInstanceTypes(instancetypes.AWSSNPSupportedInstanceFamilies), formatInstanceTypes(instancetypes.AWSSupportedInstanceFamilies), @@ -45,6 +47,7 @@ GCP instance types: formatInstanceTypes(instancetypes.AzureSNPInstanceTypes), formatInstanceTypes(instancetypes.AzureTrustedLaunchInstanceTypes), formatInstanceTypes(instancetypes.GCPInstanceTypes), + formatInstanceTypes(instancetypes.STACKITInstanceTypes), ) } diff --git a/internal/config/instancetypes/BUILD.bazel b/internal/config/instancetypes/BUILD.bazel index 7080f5bb8..609892693 100644 --- a/internal/config/instancetypes/BUILD.bazel +++ b/internal/config/instancetypes/BUILD.bazel @@ -6,6 +6,7 @@ go_library( "aws.go", "azure.go", "gcp.go", + "stackit.go", ], importpath = "github.com/edgelesssys/constellation/v2/internal/config/instancetypes", visibility = ["//:__subpackages__"], diff --git a/internal/config/instancetypes/stackit.go b/internal/config/instancetypes/stackit.go new file mode 100644 index 000000000..68ea21d94 --- /dev/null +++ b/internal/config/instancetypes/stackit.go @@ -0,0 +1,16 @@ +/* +Copyright (c) Edgeless Systems GmbH + +SPDX-License-Identifier: AGPL-3.0-only +*/ + +package instancetypes + +// STACKITInstanceTypes are valid STACKIT instance types. +var STACKITInstanceTypes = []string{ + "m1a.2cd", + "m1a.4cd", + "m1a.8cd", + "m1a.16cd", + "m1a.30cd", +}