Add UseStateForUnknown for all Computed fields that RequireReplacement and dont change after an update (#149)
This commit is contained in:
parent
f62984aa0f
commit
45e8981350
3 changed files with 10 additions and 0 deletions
|
|
@ -231,6 +231,7 @@ func (r *zoneResource) Schema(_ context.Context, _ resource.SchemaRequest, resp
|
|||
ElementType: types.StringType,
|
||||
PlanModifiers: []planmodifier.List{
|
||||
listplanmodifier.RequiresReplace(),
|
||||
listplanmodifier.UseStateForUnknown(),
|
||||
},
|
||||
Validators: []validator.List{
|
||||
listvalidator.SizeAtMost(10),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue