The underlying provider is built on the SDKv2 schema, so we need to use the corresponding .Main functions: pkg/tfbridge.Main and pkg/tfgen.Main respectively.
Previously, we were using pkg/tfbridge.MainWithMuxer and pkg/pf/tfgen.Main. The pf/tfgen main seemed to work (but may generate erroneous errors) and the MainWithMuxer paniced on startup.
The underlying provider is built on the SDKv2 schema, so we need to use the corresponding
.Main
functions:pkg/tfbridge.Main
andpkg/tfgen.Main
respectively.Previously, we were using
pkg/tfbridge.MainWithMuxer
andpkg/pf/tfgen.Main
. The pf/tfgen main seemed to work (but may generate erroneous errors) and theMainWithMuxer
paniced on startup.Fixes #21