support storage class update in postgresflex (#348)

This commit is contained in:
Diogo Ferrão 2024-04-26 11:20:51 +02:00 committed by GitHub
parent 66d6ec2bd0
commit 46797a659a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -224,6 +224,9 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
Attributes: map[string]schema.Attribute{
"class": schema.StringAttribute{
Required: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(),
},
},
"size": schema.Int64Attribute{
Required: true,