Skip to content

Commit

Permalink
Fix plan modifier for cluster project id
Browse files Browse the repository at this point in the history
We shouldn't delete the cluster for this (mostly because it causes too much disruption).
  • Loading branch information
michaeljguarino committed Jun 20, 2024
1 parent 72b6db2 commit 40afca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/resource/cluster_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (r *clusterResource) schema() schema.Schema {
MarkdownDescription: "ID of the project that this cluster belongs to.",
Computed: true,
Optional: true,
PlanModifiers: []planmodifier.String{stringplanmodifier.RequiresReplace()},
// PlanModifiers: []planmodifier.String{stringplanmodifier.RequiresReplace()},
},
"detach": schema.BoolAttribute{
Description: "Determines behavior during resource destruction, if true it will detach resource instead of deleting it.",
Expand Down

0 comments on commit 40afca4

Please sign in to comment.