feat: stabilize drift for ske egress range (#971)
* feat: stabilize drift for ske egress range * feat: add PlanModifiers to pod_address_ranges too
This commit is contained in:
parent
4a7106cc01
commit
e5fdb59dad
1 changed files with 6 additions and 0 deletions
|
|
@ -372,11 +372,17 @@ 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.",
|
Description: "The outgoing network ranges (in CIDR notation) of traffic originating from workload on the cluster.",
|
||||||
Computed: true,
|
Computed: true,
|
||||||
ElementType: types.StringType,
|
ElementType: types.StringType,
|
||||||
|
PlanModifiers: []planmodifier.List{
|
||||||
|
listplanmodifier.UseStateForUnknown(),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"pod_address_ranges": schema.ListAttribute{
|
"pod_address_ranges": schema.ListAttribute{
|
||||||
Description: "The network ranges (in CIDR notation) used by pods of the cluster.",
|
Description: "The network ranges (in CIDR notation) used by pods of the cluster.",
|
||||||
Computed: true,
|
Computed: true,
|
||||||
ElementType: types.StringType,
|
ElementType: types.StringType,
|
||||||
|
PlanModifiers: []planmodifier.List{
|
||||||
|
listplanmodifier.UseStateForUnknown(),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"node_pools": schema.ListNestedAttribute{
|
"node_pools": schema.ListNestedAttribute{
|
||||||
Description: "One or more `node_pool` block as defined below.",
|
Description: "One or more `node_pool` block as defined below.",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue