diff --git a/internal/plugin/convert/schema.go b/internal/plugin/convert/schema.go index 41e48ba618..05db62bcbf 100644 --- a/internal/plugin/convert/schema.go +++ b/internal/plugin/convert/schema.go @@ -118,6 +118,7 @@ func ProtoToConfigSchema(b *proto.Schema_Block) *configschema.Block { Computed: a.Computed, Sensitive: a.Sensitive, Deprecated: a.Deprecated, + WriteOnly: a.WriteOnly, } if err := json.Unmarshal(a.Type, &attr.Type); err != nil { diff --git a/internal/plugin6/convert/schema.go b/internal/plugin6/convert/schema.go index 39c1ff6204..6d10ed8f42 100644 --- a/internal/plugin6/convert/schema.go +++ b/internal/plugin6/convert/schema.go @@ -124,6 +124,7 @@ func ProtoToConfigSchema(b *proto.Schema_Block) *configschema.Block { Computed: a.Computed, Sensitive: a.Sensitive, Deprecated: a.Deprecated, + WriteOnly: a.WriteOnly, } if a.Type != nil {