Closed w0de closed 3 days ago
Having a look into this one today.
Will have a look at this when i refactor computer ext atts to support the jamf pro api as part of the next provider release for jamf v11.9. It's under consideration, but i cannot commit to implementing something.
i've refactored computer extension attributes to align with the data model for the jamf pro api. there is a state migration for provider v0.2.0 to v0.3.0. However i've decided that i won't be retrofitting state migration functionality for this resource prior to v0.2.0 due to this alpha status of the release in question.
Older versions of
jamfpro_computer_extension_attribute
expected an interface forinput_type
. Managing an extension attribute with older versions created Terraform state of this shape:intput_type
's input type is now string. Attempting to upgrade to the latest version of provider therefore generates this error:The referenced value is the new value - but the error appears to be actually caused by the state's value.
Presently, to work around this problem, I'm just re-importing my extension attributes. However, I think the optimal solution may be a state migration function for the resource. (If not feasible or a priority for this resource, its still a good for future schema changes.)