Skip to content

Commit 46797a6

Browse files
authored
support storage class update in postgresflex (#348)
1 parent 66d6ec2 commit 46797a6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • stackit/internal/services/postgresflex/instance

stackit/internal/services/postgresflex/instance/resource.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
224224
Attributes: map[string]schema.Attribute{
225225
"class": schema.StringAttribute{
226226
Required: true,
227+
PlanModifiers: []planmodifier.String{
228+
stringplanmodifier.RequiresReplace(),
229+
},
227230
},
228231
"size": schema.Int64Attribute{
229232
Required: true,

0 commit comments

Comments
 (0)