wide-twilight-48377
07/29/2025, 11:01 AMpulumi package add
stage.
I can't understand, what's wrong and how to fix it. Terraform is working with that provider totally fine. Panic log in the comment.wide-twilight-48377
07/29/2025, 11:03 AM(.venv) complynx@complynx-work:~/pulumi_test$ pulumi package add terraform-provider terraform-provider.storage.eu-north1.nebius.cloud/nebius/nebius
Downloading provider: terraform-provider
error: Bridged provider panic (provider=terraform-provider v=v0.12.0 method=GetSchema): runtime error: invalid memory address or nil pointer dereference
goroutine 193 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.24.4/x64/src/runtime/debug/stack.go:26 +0x5e
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/providerserver.(*PanicRecoveringProviderServer).GetSchema.func1()|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/providerserver.(*PanicRecoveringProviderServer).GetSchema.func1()>
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/providerserver/panic_recovering_provider.go:200 +0x5a
panic({0x1cab760?, 0x34f6070?})
/opt/hostedtoolcache/go/1.24.4/x64/src/runtime/panic.go:792 +0x132
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaNestedTypes).gatherFromPropertyType(0xc0018856f0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaNestedTypes).gatherFromPropertyType(0xc0018856f0>, {0x241e720, 0xc00116ce10}, {0x2405340, 0xc000cce000}, {0xc0017007b0?, 0x9?}, {0x0?, 0x0?}, 0x0, ...)
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:209 +0x4c
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaNestedTypes).gatherFromMember(0xc0018856f0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaNestedTypes).gatherFromMember(0xc0018856f0>, {0x2416908?, 0xc000cce000})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:111 +0x165
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.gatherSchemaNestedTypesForModule(...)|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.gatherSchemaNestedTypesForModule(...)>
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:82
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaGenerator).genPackageSpec(_|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaGenerator).genPackageSpec(_>, _, {_, _})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:298 +0x1f29
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.genPulumiSchema(_|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.genPulumiSchema(_>, {_, _}, {_, _}, {{0x2444a88, 0xc000d039b0}, {0xc000de5e63, 0x6}, {0xc000fda760, ...}, ...}, ...)
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:237 +0x149
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*Generator).generateSchemaResult(0xc0013e2f08|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*Generator).generateSchemaResult(0xc0013e2f08>, {0x2423a10?, 0x356ba00?})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate.go:1056 +0x154
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*Generator).Generate(0xc0013e2f08)|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*Generator).Generate(0xc0013e2f08)>
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate.go:1034 +0x26
main.initialSetup.func2({0x2423a48, 0xc0011afd40}, {0x11af3e0?, {0x24163a8?, 0xc0009a2960?}, 0x0?})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/dynamic/main.go:101 +0x1d3
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfbridge.(*provider).GetSchemaWithContext(0xc000af6708|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfbridge.(*provider).GetSchemaWithContext(0xc000af6708>, {0x2423a48?, 0xc0011af3e0?}, {0x419c65?, {0xc0008b80ba?, 0x1f84c60?}, 0xc0011b9ea0?})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/pf/tfbridge/provider.go:283 +0x7e
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/internal/plugin.(*providerServer).GetSchema(0xc000b42c60|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/internal/plugin.(*providerServer).GetSchema(0xc000b42c60>?, {0x2423a48?, 0xc0011af3e0?}, 0xc0011b9cc0?)
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/pf/internal/plugin/provider_server.go:181 +0x25e
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/providerserver.(*PanicRecoveringProviderServer).GetSchema(0xc000af28a0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/providerserver.(*PanicRecoveringProviderServer).GetSchema(0xc000af28a0>, {0x2423a48, 0xc0011af3b0}, 0xc0011b9cc0)
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/providerserver/panic_recovering_provider.go:205 +0x138
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_GetSchema_Handler.func1({0x2423a48|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_GetSchema_Handler.func1({0x2423a48>?, 0xc0011af3b0?}, {0x1e82520?, 0xc0011b9cc0?})
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.178.0/proto/go/provider_grpc.pb.go:727 +0xce
<http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x2423a48|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x2423a48>, 0xc0011aec90}, {0x1e82520, 0xc0011b9cc0}, 0xc000f0ae20, 0xc0010a02e8)
/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x3b2
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_GetSchema_Handler({0x1f8ee60|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_GetSchema_Handler({0x1f8ee60>, 0xc000af28a0}, {0x2423a48, 0xc0011aec90}, 0xc0007e9380, 0xc000aefc20)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.178.0/proto/go/provider_grpc.pb.go:729 +0x143
<http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc000b04400|google.golang.org/grpc.(*Server).processUnaryRPC(0xc000b04400>, {0x2423a48, 0xc0011aeb70}, 0xc0011810e0, 0xc000b42cf0, 0x352b9d0, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.72.1/server.go:1405 +0x1036
<http://google.golang.org/grpc.(*Server).handleStream(0xc000b04400|google.golang.org/grpc.(*Server).handleStream(0xc000b04400>, {0x2426788, 0xc000d2a000}, 0xc0011810e0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.72.1/server.go:1815 +0xb88
<http://google.golang.org/grpc.(*Server).serveStreams.func2.1()|google.golang.org/grpc.(*Server).serveStreams.func2.1()>
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.72.1/server.go:1035 +0x7f
created by <http://google.golang.org/grpc.(*Server).serveStreams.func2|google.golang.org/grpc.(*Server).serveStreams.func2> in goroutine 70
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.72.1/server.go:1046 +0x11d
error: Detected that /home/complynx/.pulumi/plugins/resource-terraform-provider-v0.12.0/pulumi-resource-terraform-provider exited prematurely.
This is *always* a bug in the provider. Please report the issue to the provider author as appropriate.
To assist with debugging we have dumped the STDOUT and STDERR streams of the plugin:panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x19f01ec]
goroutine 193 [running]:
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/providerserver.(*PanicRecoveringProviderServer).GetSchema.func1()|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/providerserver.(*PanicRecoveringProviderServer).GetSchema.func1()>
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/providerserver/panic_recovering_provider.go:201 +0xa5
panic({0x1cab760?, 0x34f6070?})
/opt/hostedtoolcache/go/1.24.4/x64/src/runtime/panic.go:792 +0x132
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaNestedTypes).gatherFromPropertyType(0xc0018856f0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaNestedTypes).gatherFromPropertyType(0xc0018856f0>, {0x241e720, 0xc00116ce10}, {0x2405340, 0xc000cce000}, {0xc0017007b0?, 0x9?}, {0x0?, 0x0?}, 0x0, ...)
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:209 +0x4c
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaNestedTypes).gatherFromMember(0xc0018856f0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaNestedTypes).gatherFromMember(0xc0018856f0>, {0x2416908?, 0xc000cce000})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:111 +0x165
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.gatherSchemaNestedTypesForModule(...)|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.gatherSchemaNestedTypesForModule(...)>
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:82
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaGenerator).genPackageSpec(_|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*schemaGenerator).genPackageSpec(_>, _, {_, _})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:298 +0x1f29
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.genPulumiSchema(_|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.genPulumiSchema(_>, {_, _}, {_, _}, {{0x2444a88, 0xc000d039b0}, {0xc000de5e63, 0x6}, {0xc000fda760, ...}, ...}, ...)
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate_schema.go:237 +0x149
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*Generator).generateSchemaResult(0xc0013e2f08|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*Generator).generateSchemaResult(0xc0013e2f08>, {0x2423a10?, 0x356ba00?})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate.go:1056 +0x154
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*Generator).Generate(0xc0013e2f08)|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen.(*Generator).Generate(0xc0013e2f08)>
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/tfgen/generate.go:1034 +0x26
main.initialSetup.func2({0x2423a48, 0xc0011afd40}, {0x11af3e0?, {0x24163a8?, 0xc0009a2960?}, 0x0?})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/dynamic/main.go:101 +0x1d3
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfbridge.(*provider).GetSchemaWithContext(0xc000af6708|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfbridge.(*provider).GetSchemaWithContext(0xc000af6708>, {0x2423a48?, 0xc0011af3e0?}, {0x419c65?, {0xc0008b80ba?, 0x1f84c60?}, 0xc0011b9ea0?})
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/pf/tfbridge/provider.go:283 +0x7e
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/internal/plugin.(*providerServer).GetSchema(0xc000b42c60|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/internal/plugin.(*providerServer).GetSchema(0xc000b42c60>?, {0x2423a48?, 0xc0011af3e0?}, 0xc0011b9cc0?)
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/pf/internal/plugin/provider_server.go:181 +0x25e
<http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/providerserver.(*PanicRecoveringProviderServer).GetSchema(0xc000af28a0|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/providerserver.(*PanicRecoveringProviderServer).GetSchema(0xc000af28a0>, {0x2423a48, 0xc0011af3b0}, 0xc0011b9cc0)
/home/runner/work/pulumi-terraform-provider/pulumi-terraform-provider/bridge/pkg/providerserver/panic_recovering_provider.go:205 +0x138
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_GetSchema_Handler.func1({0x2423a48|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_GetSchema_Handler.func1({0x2423a48>?, 0xc0011af3b0?}, {0x1e82520?, 0xc0011b9cc0?})
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.178.0/proto/go/provider_grpc.pb.go:727 +0xce
<http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x2423a48|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x2423a48>, 0xc0011aec90}, {0x1e82520, 0xc0011b9cc0}, 0xc000f0ae20, 0xc0010a02e8)
/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x3b2
<http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_GetSchema_Handler({0x1f8ee60|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_GetSchema_Handler({0x1f8ee60>, 0xc000af28a0}, {0x2423a48, 0xc0011aec90}, 0xc0007e9380, 0xc000aefc20)
/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.178.0/proto/go/provider_grpc.pb.go:729 +0x143
<http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc000b04400|google.golang.org/grpc.(*Server).processUnaryRPC(0xc000b04400>, {0x2423a48, 0xc0011aeb70}, 0xc0011810e0, 0xc000b42cf0, 0x352b9d0, 0x0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.72.1/server.go:1405 +0x1036
<http://google.golang.org/grpc.(*Server).handleStream(0xc000b04400|google.golang.org/grpc.(*Server).handleStream(0xc000b04400>, {0x2426788, 0xc000d2a000}, 0xc0011810e0)
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.72.1/server.go:1815 +0xb88
<http://google.golang.org/grpc.(*Server).serveStreams.func2.1()|google.golang.org/grpc.(*Server).serveStreams.func2.1()>
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.72.1/server.go:1035 +0x7f
created by <http://google.golang.org/grpc.(*Server).serveStreams.func2|google.golang.org/grpc.(*Server).serveStreams.func2> in goroutine 70
/home/runner/go/pkg/mod/google.golang.org/grpc@v1.72.1/server.go:1046 +0x11d
error: failed to get schema: rpc error: code = Unavailable desc = error reading from server: EOF
(.venv) complynx@complynx-work:~/pulumi_test$
echoing-dinner-19531
07/29/2025, 11:19 AMwide-twilight-48377
07/29/2025, 11:32 AM