Open t0yv0 opened 1 year ago
@t0yv0 the error message has definitely improved:
CC @iwahbe
Ah so still a blocker. This may actually just need https://github.com/pulumi/pulumi-terraform-bridge/issues/731 Set Type proper it looks like rather than the complete "Custom Type" with all that that entails.
@t0yv0 @iwahbe I think #803 must be implemented, because the MSSQL TF Provider uses this new feature of TF PF.
Excellent than your for the specific use case.
Ah so still a blocker. This may actually just need #731 Set Type proper it looks like rather than the complete "Custom Type" with all that that entails.
AFAIK, the Plugin Framework custom types are constructed on top of a base type. https://github.com/pulumi/pulumi-terraform-bridge/pull/808 added logic for custom types to be translated into their base type.
Of course, not implementing the base type is still a problem. I believe that this will work when we complete #731.
Recording the learnings from https://github.com/pulumi/pulumi-terraform-bridge/pull/1674, to support custom types we need to remove any usage of types.*Type
in favor of basetypes.*Typable
. The types
library exists to provide convenient implementations of basetypes
, but if fundamentally optional.
Plugin Framework has the Custom Types feature but the bridge does not yet support it.
@tmeckel reports that on upgrade-tf-framework the current version of the bridge fails ungracefully:
This blocks: