Skip to content

Commit

Permalink
Fix inconsistent result after apply in SKE cluster node pool taint va…
Browse files Browse the repository at this point in the history
…lue (#606)

* fix: Inconsistent result after apply in taint value

* feat: Also add UseStateForUnknown
  • Loading branch information
joaopalet authored Dec 3, 2024
1 parent 58e99b4 commit 51485f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stackit/internal/services/ske/cluster/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
},
},
},
},
Expand Down

0 comments on commit 51485f8

Please sign in to comment.