Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helper/schema/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ func (r *Resource) InternalValidate(topSchemaMap schemaMap, writable bool) error
if !r.updateFuncSet() {
nonForceNewAttrs := make([]string, 0)
for k, v := range schema {
if !v.ForceNew && !v.Computed {
if !v.ForceNew && !v.Computed && !v.WriteOnly {
nonForceNewAttrs = append(nonForceNewAttrs, k)
}
}
Expand Down
Loading