From ad7dc32f5025c70b481bfce3a070fbdf4321f0f8 Mon Sep 17 00:00:00 2001 From: mitterle-sit <195103606+mitterle-sit@users.noreply.github.com> Date: Wed, 27 Aug 2025 12:06:24 +0200 Subject: [PATCH 1/2] feat: stabilize drift for ske egress range --- stackit/internal/services/ske/cluster/resource.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stackit/internal/services/ske/cluster/resource.go b/stackit/internal/services/ske/cluster/resource.go index 130b7c8f5..2046e29fe 100644 --- a/stackit/internal/services/ske/cluster/resource.go +++ b/stackit/internal/services/ske/cluster/resource.go @@ -372,6 +372,9 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re Description: "The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster.", Computed: true, ElementType: types.StringType, + PlanModifiers: []planmodifier.List{ + listplanmodifier.UseStateForUnknown(), + }, }, "pod_address_ranges": schema.ListAttribute{ Description: "The network ranges (in CIDR notation) used by pods of the cluster.", From b173be7d2e3b45ffc2780bd507d34bd537c59e53 Mon Sep 17 00:00:00 2001 From: mitterle-sit <195103606+mitterle-sit@users.noreply.github.com> Date: Wed, 10 Sep 2025 12:47:36 +0200 Subject: [PATCH 2/2] feat: add PlanModifiers to pod_address_ranges too --- stackit/internal/services/ske/cluster/resource.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stackit/internal/services/ske/cluster/resource.go b/stackit/internal/services/ske/cluster/resource.go index 2046e29fe..a6801caa2 100644 --- a/stackit/internal/services/ske/cluster/resource.go +++ b/stackit/internal/services/ske/cluster/resource.go @@ -380,6 +380,9 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re Description: "The network ranges (in CIDR notation) used by pods of the cluster.", Computed: true, ElementType: types.StringType, + PlanModifiers: []planmodifier.List{ + listplanmodifier.UseStateForUnknown(), + }, }, "node_pools": schema.ListNestedAttribute{ Description: "One or more `node_pool` block as defined below.",