ephemeral: add write-only attribute to proto to schema conversion

pull/36031/head
Daniel Schmidt 1 year ago
parent 970ff7f6ec
commit 0222b97692
No known key found for this signature in database
GPG Key ID: 377C3A4D62FBBBE2

@ -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 {

@ -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 {

Loading…
Cancel
Save