bright-receptionist-28471
07/26/2023, 4:59 PMmake tfgen
I’m getting this warning:
warning: ProviderInfo.P should be nil for Plugin Framework based providers, populate NewProvider instead
Which seems to contradict the guide
info := tfbridge.ProviderInfo{
P: pf.ShimProvider(<TODO fill in Terraform Provider from Step 1>),
I’m having trouble determining what the message means by “populate NewProvider instead”, that doesn’t seem to be a field on ProviderInfo
, so I must be missing something hereP
set on ProviderInfo
results in a crash later on, so it seems like the warning is erroneous or perhaps out of date?big-architect-71258
07/26/2023, 10:01 PMbright-receptionist-28471
07/27/2023, 12:26 AMancient-policeman-24615
07/31/2023, 9:50 AM