Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultOSName = "flatcar" DefaultCRI = "containerd" DefaultVolumeType = "storage_premium_perf1" DefaultVolumeSizeGB = 20 VersionStateSupported = "supported" VersionStatePreview = "preview" VersionStateDeprecated = "deprecated" SKEUpdateDoc = "" /* 317-byte string literal not displayed */ NodePoolsPlanTitle = "Plan for node_pools might look incorrect" NodePoolsPlanDesc = "When updating the node_pools of a stackit_ske_cluster, the Terraform plan might appear incorrect " + "and shows a diff indicating that existing pools will be destroyed and recreated.\n\n" + "This happens because Terraform matches list elements by their index rather than by name. " + "Adding, removing, or reordering items in the list shifts these indices, causing cascading diffs.\n\n" + "However, the SKE API correctly identifies node pools by name and applies the intended changes safely. " + "Please review your changes carefully to ensure the correct configuration will be applied.\n\n" + "Always append new node pools to the end of the node_pools list, to prevent index shifting and keep your Terraform plans clean." )
Variables ¶
This section is empty.
Functions ¶
func NewClusterDataSource ¶
func NewClusterDataSource() datasource.DataSource
NewClusterDataSource is a helper function to simplify the provider implementation.
func NewClusterResource ¶
NewClusterResource is a helper function to simplify the provider implementation.
Types ¶
type Model ¶ added in v0.8.0
type Model struct {
Id types.String `tfsdk:"id"` // needed by TF
ProjectId types.String `tfsdk:"project_id"`
Name types.String `tfsdk:"name"`
KubernetesVersionMin types.String `tfsdk:"kubernetes_version_min"`
KubernetesVersionUsed types.String `tfsdk:"kubernetes_version_used"`
NodePools types.List `tfsdk:"node_pools"`
Maintenance types.Object `tfsdk:"maintenance"`
Network types.Object `tfsdk:"network"`
Hibernations types.List `tfsdk:"hibernations"`
Extensions types.Object `tfsdk:"extensions"`
EgressAddressRanges types.List `tfsdk:"egress_address_ranges"`
PodAddressRanges types.List `tfsdk:"pod_address_ranges"`
Region types.String `tfsdk:"region"`
}
Click to show internal directories.
Click to hide internal directories.