Fix inconsistent result after apply in SKE cluster node pool taint value (#606)

* fix: Inconsistent result after apply in taint value

* feat: Also add UseStateForUnknown
This commit is contained in:
João Palet 2024-12-03 11:35:08 +00:00 committed by GitHub
parent 58e99b4d67
commit 51485f8c0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -485,6 +485,10 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re
"value": schema.StringAttribute{
Description: "Taint value corresponding to the taint key.",
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.UseStateForUnknown(),
},
},
},
},