For example running with --kind code
I get the error below.
./resources.go:174:18: duplicate field name MetadataInfo in struct literal
make: *** [tfgen] Error 1
I already have MetadataInfo and when running the command it adds MetadataInfo again to resource.go. Below is the duplicate it adds
, MetadataInfo:
// These are new API's that you may opt to use to automatically compute resource
// tokens, and apply auto aliasing for full backwards compatibility. For more
// information, please reference:
// https://pkg.go.dev/github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge#ProviderInfo.ComputeTokens
tfbridge.NewProviderMetadata(metadata),
Taken from https://github.com/pulumi/upgrade-provider/issues/258#issuecomment-2079643506
For example running with
--kind code
I get the error below.I already have MetadataInfo and when running the command it adds MetadataInfo again to resource.go. Below is the duplicate it adds