From 40afca485825f5ec91cb13f2b3a50337f73c5891 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Thu, 20 Jun 2024 16:01:21 -0400 Subject: [PATCH] Fix plan modifier for cluster project id We shouldn't delete the cluster for this (mostly because it causes too much disruption). --- internal/resource/cluster_schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/resource/cluster_schema.go b/internal/resource/cluster_schema.go index 05b5048..79d5225 100644 --- a/internal/resource/cluster_schema.go +++ b/internal/resource/cluster_schema.go @@ -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.",