Skip to content

Commit 2069ebe

Browse files
committed
fix(ske): cluster resource state drift in control plane
1 parent 96688e4 commit 2069ebe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stackit/internal/services/ske/cluster/resource.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re
580580
"control_plane": schema.SingleNestedAttribute{
581581
Description: "Control plane for the cluster.",
582582
Optional: true,
583+
Computed: true,
583584
Attributes: map[string]schema.Attribute{
584585
"access_scope": schema.StringAttribute{
585586
Description: "Access scope of the control plane. It defines if the Kubernetes control plane is public or only available inside a STACKIT Network Area." + utils.FormatPossibleValues(sdkUtils.EnumSliceToStringSlice(ske.AllowedAccessScopeEnumValues)...) + " The field is immutable!",

0 commit comments

Comments
 (0)