You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running terraform plan results in panic. This seems like a recent regression since the same TF resources we're previously built correctly on same version (0.3.16).
Error message
Stack trace from the terraform-provider-dbtcloud_v0.3.16 plugin:
panic: interface conversion: interface {} is nil, not string
goroutine 484 [running]:
github.com/dbt-labs/terraform-provider-dbtcloud/pkg/sdkv2/resources.resourceConnectionRead({0x104ccc498?, 0x1400091c510?}, 0x140005b0280, {0x104cb5420?, 0x140004b2800})
github.com/dbt-labs/terraform-provider-dbtcloud/pkg/sdkv2/resources/connection.go:309 +0x126c
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x140002da8c0, {0x104ccc498, 0x1400091c510}, 0xd?, {0x104cb5420, 0x140004b2800})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:823 +0xe8
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0x140002da8c0, {0x104ccc498, 0x1400091c510}, 0x14000826340, {0x104cb5420, 0x140004b2800})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1117 +0x430
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0x1400000d890, {0x104ccc498?, 0x1400091c3c0?}, 0x1400068e880)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:708 +0x5ac
github.com/hashicorp/terraform-plugin-mux/tf5to6server.v5tov6Server.ReadResource({{0x104cd8740?, 0x1400000d890?}}, {0x104ccc498?, 0x1400091c3c0?}, 0x1400068e4c0?)
github.com/hashicorp/[email protected]/tf5to6server/tf5to6server.go:215 +0x228
github.com/hashicorp/terraform-plugin-mux/tf6muxserver.(*muxServer).ReadResource(0x104ccc4d0?, {0x104ccc498?, 0x1400058fec0?}, 0x1400068e4c0)
github.com/hashicorp/[email protected]/tf6muxserver/mux_server_ReadResource.go:35 +0x184
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0x140002595e0, {0x104ccc498?, 0x1400058e900?}, 0x140002522a0)
github.com/hashicorp/[email protected]/tfprotov6/tf6server/server.go:784 +0x224
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0x104c8e7e0?, 0x140002595e0}, {0x104ccc498, 0x1400058e900}, 0x140005b0000, 0x0)
github.com/hashicorp/[email protected]/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:482 +0x164
google.golang.org/grpc.(*Server).processUnaryRPC(0x14000189000, {0x104ccc498, 0x1400058e2d0}, {0x104cd3950, 0x140004f4000}, 0x140005767e0, 0x1400037b380, 0x10531b868, 0x0)
google.golang.org/[email protected]/server.go:1369 +0xba0
google.golang.org/grpc.(*Server).handleStream(0x14000189000, {0x104cd3950, 0x140004f4000}, 0x140005767e0)
google.golang.org/[email protected]/server.go:1780 +0xc80
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/[email protected]/server.go:1019 +0x8c
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 23
google.golang.org/[email protected]/server.go:1030 +0x150
Error: The terraform-provider-dbtcloud_v0.3.16 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
Nothing really changed in this part of the provider code recently, so I am not too sure what is happening but seeing the error I can still think of ways to avoid this null pointer issue.
Describe the bug
Running
terraform plan
results in panic. This seems like a recent regression since the same TF resources we're previously built correctly on same version (0.3.16).Error message
Resource configuration
Expected behavior
terraform plan
runs without errors.Config (please complete the following information):
( the version can be retrieved running the command
terraform providers
)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: