Skip to content

Commit 3d6c3b9

Browse files
authored
fix(datastore): remove require replace mandatory (#20)
1 parent c55ad0d commit 3d6c3b9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/provider/datastore.go

-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"github.com/hashicorp/terraform-plugin-framework/resource"
1111
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
1212
"github.com/hashicorp/terraform-plugin-framework/resource/schema/boolplanmodifier"
13-
"github.com/hashicorp/terraform-plugin-framework/resource/schema/listplanmodifier"
1413
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
1514
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
1615
"github.com/hashicorp/terraform-plugin-framework/types"
@@ -91,9 +90,6 @@ func (r *datastoreResource) Schema(_ context.Context, _ resource.SchemaRequest,
9190
ElementType: types.StringType,
9291
Optional: true,
9392
Computed: true,
94-
PlanModifiers: []planmodifier.List{
95-
listplanmodifier.RequiresReplace(),
96-
},
9793
},
9894
},
9995
},

0 commit comments

Comments
 (0)