big-architect-71258
04/27/2023, 10:18 AMnarrow-match-14013
04/27/2023, 5:18 PM//go:embed
then? If tfgen
creates the file, and then the bridge imports what it creates, why is it embedded in tfgen?big-architect-71258
04/27/2023, 5:26 PMnarrow-match-14013
04/27/2023, 6:26 PMtfgen
I can actually just pass an empty make([]byte, 0)
into the tfbridge.NewProviderMetadata
, but then in the resource
binary I can use the embed and pass that in, and it seems to workProviderInfo
is used in both tfgen
and resource
, when only the latter actually needs bridge-metadata.json
to exist