netascode / terraform-provider-fmc

Mozilla Public License 2.0
2 stars 9 forks source link

implement `computed` (read-only) attributes within Schema #65

Open jabielecki opened 3 months ago

jabielecki commented 3 months ago

https://github.com/netascode/terraform-provider-fmc/pull/40#discussion_r1659363907

Extend the schema to support Computed (read-only) attributes. We have implemented this here already: https://github.com/CiscoDevNet/terraform-provider-ise/blob/479742e9945413edf01efb935b2f63582315b9e6/gen/schema/schema.yaml#L43 .

Mark the type attributes, and similar, as computed in the resource definitions.