mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-23 14:39:40 -05:00
cli: add STACKIT to constellation config instance-types
This commit is contained in:
parent
d5b3d4fd6f
commit
1c8a7e4c22
@ -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),
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -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__"],
|
||||
|
16
internal/config/instancetypes/stackit.go
Normal file
16
internal/config/instancetypes/stackit.go
Normal file
@ -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",
|
||||
}
|
Loading…
Reference in New Issue
Block a user