https://pulumi.com logo
#golang
Title
# golang
s

shy-author-33795

10/06/2021, 7:12 PM
Anyone have any experience with the
Unexpected duplicate underscore
error thrown by pulumi-terraform-bridge? I'm not sure what the issue may be here:
Copy code
pulumi:pulumi:Stack (autoscaling_group-dev):
    panic: fatal: An assertion has failed: Unexpected duplicate underscore: pulumi__project
    goroutine 31 [running]:
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.9.1/go/common/util/contract/failfast.go:23
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf(0xc001c01800|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf(0xc001c01800>, 0x86c3006, 0x23, 0xc001a1ae78, 0x1, 0x1)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.9.1/go/common/util/contract/assert.go:33 +0x1a5
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.TerraformToPulumiName(0xc001c01890|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.TerraformToPulumiName(0xc001c01890>, 0xf, 0x0, 0x0, 0x0, 0xffffffffffffff00, 0x1, 0xc001bf1440)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.5.0/pkg/tfbridge/names.go:106 +0x285
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.getInfoFromTerraformName(0xc001c01890|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.getInfoFromTerraformName(0xc001c01890>, 0xf, 0x92a72e0, 0xc000ad59e0, 0x0, 0x0, 0x0, 0xc001bf1440, 0x100, 0x6d7cee0, ...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.5.0/pkg/tfbridge/schema.go:903 +0x1c5
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutputs(0x92c06b8|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutputs(0x92c06b8>, 0xc001708b40, 0xc001a1b268, 0x92a72e0, 0xc000ad59e0, 0x0, 0xc001bf1440, 0xc001c20100, 0x94)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.5.0/pkg/tfbridge/schema.go:622 +0x12e
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput.func1(0x92c06b8|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput.func1(0x92c06b8>, 0xc001708b40, 0x751ca60, 0xc001bf1680, 0x92c2878, 0xc000b01040, 0xc00178e9c0, 0xc001bf1440, 0x7510100, 0x4, ...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.5.0/pkg/tfbridge/schema.go:745 +0xcc5
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput(0x92c06b8|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput(0x92c06b8>, 0xc001708b40, 0x751ca60, 0xc001bf1680, 0x92c2878, 0xc000b01040, 0xc00178e9c0, 0xc001bf1440, 0x92c0100, 0xc000b01040, ...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.5.0/pkg/tfbridge/schema.go:753 +0xaf
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutputs(0x92c06b8|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutputs(0x92c06b8>, 0xc001708b40, 0xc001bf1470, 0x92a72e0, 0xc000ad5710, 0xc00175f260, 0xc001bf1440, 0x100, 0x91b3400)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.5.0/pkg/tfbridge/schema.go:626 +0x1c6
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Check(0xc0002f6780|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Check(0xc0002f6780>, 0x92879a8, 0xc001bf0ff0, 0xc001beee80, 0xc0002f6780, 0x7675101, 0xc001bef840)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.5.0/pkg/tfbridge/provider.go:701 +0x954
    <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Check_Handler.func1(0x92879a8|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Check_Handler.func1(0x92879a8>, 0xc001bf0ff0, 0x82db620, 0xc001beee80, 0x83ae320, 0xdccede8, 0x92879a8, 0xc001bf0ff0)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.9.1/proto/go/provider.pb.go:2558 +0x89
    <http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x92879a8|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x92879a8>, 0xc001bf0cf0, 0x82db620, 0xc001beee80, 0xc0013dfbe0, 0xc001bd4fa8, 0x0, 0x0, 0x91a1080, 0xc0003ef870)
    	/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x30a
    <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Check_Handler(0x84e8120|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Check_Handler(0x84e8120>, 0xc0002f6780, 0x92879a8, 0xc001bf0cf0, 0xc0004cdec0, 0xc0016e7fe0, 0x92879a8, 0xc001bf0cf0, 0xc0003d1c00, 0x3e7)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.9.1/proto/go/provider.pb.go:2560 +0x150
    <http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc0008defc0|google.golang.org/grpc.(*Server).processUnaryRPC(0xc0008defc0>, 0x92adef8, 0xc000522180, 0xc0018edd40, 0xc001801d70, 0xdc8a150, 0x0, 0x0, 0x0)
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1217 +0x52b
    <http://google.golang.org/grpc.(*Server).handleStream(0xc0008defc0|google.golang.org/grpc.(*Server).handleStream(0xc0008defc0>, 0x92adef8, 0xc000522180, 0xc0018edd40, 0x0)
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1540 +0xd0c
    <http://google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000556020|google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000556020>, 0xc0008defc0, 0x92adef8, 0xc000522180, 0xc0018edd40)
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:878 +0xab
    created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:876 +0x1fd
Apparently, this☝️ is what happens when you try to autotag an autoscaling group resource which expects a
tags_collection
it seems
3 Views