From 3beeaf402e7d87ab3a22290a061ddedb500829e9 Mon Sep 17 00:00:00 2001 From: shi yuhang <52435083+shiyuhang0@users.noreply.github.com> Date: Wed, 10 Jan 2024 15:45:03 +0800 Subject: [PATCH] fix status (#106) --- internal/provider/cluster_resource.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/provider/cluster_resource.go b/internal/provider/cluster_resource.go index 3d14dc5..84448c4 100644 --- a/internal/provider/cluster_resource.go +++ b/internal/provider/cluster_resource.go @@ -149,6 +149,9 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re "cluster_status": schema.StringAttribute{ MarkdownDescription: "Status of the cluster.", Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, }, "connection_strings": schema.SingleNestedAttribute{ MarkdownDescription: "Connection strings.",