all copy<Resource>ToModel() helpers will use the tfModel variable name to disambiguate which model (plan, config, state) is being written to. But still be clear about what it is
all resource model variables are renamed to be standardized, so that something like req.State() will be called state, req.Plan() will be a plan, and req.Config() will be a config
use a UseStateForUnknown for created attributes, to reduce (known after apply) outputs for immutable attributes
resolves https://github.com/PrefectHQ/terraform-provider-prefect/issues/195 resolves https://github.com/PrefectHQ/terraform-provider-prefect/issues/200
high-level changes:
copy<Resource>ToModel()
helpers will use thetfModel
variable name to disambiguate which model (plan, config, state) is being written to. But still be clear about what it isreq.State()
will be calledstate
,req.Plan()
will be aplan
, andreq.Config()
will be aconfig
created
attributes, to reduce(known after apply)
outputs for immutable attributes