Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin crashes while plan new resources #51

Open
TonyNihao opened this issue Jun 9, 2022 · 0 comments
Open

Plugin crashes while plan new resources #51

TonyNihao opened this issue Jun 9, 2022 · 0 comments

Comments

@TonyNihao
Copy link

When i try to use terraform plan i had an issue.
Before i was successfuly add the resources to constellix, but now i don't.
Any ideas?
`
│ Error: Plugin did not respond

│ with constellix_a_record_pool.rtb_dc_uswest,
│ on record_pools.tf line 132, in resource "constellix_a_record_pool" "rtb_dc_uswest":
│ 132: resource "constellix_a_record_pool" "rtb_dc_uswest" {

│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.

Stack trace from the terraform-provider-constellix_v0.4.5 plugin:

panic: interface conversion: interface {} is nil, not []interface {}

goroutine 26 [running]:
github.com/terraform-providers/terraform-provider-constellix/constellix.datasourceConstellixIPFilterRead(0xc0002da420, {0xe17880, 0xc000258b00})
github.com/terraform-providers/terraform-provider-constellix/constellix/datasource_constellix_geo_filter.go:138 +0xc3b
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).ReadDataApply(0xc0002f0be0, 0xc000282480, {0xe17880, 0xc000258b00})
github.com/hashicorp/[email protected]/helper/schema/resource.go:413 +0x66
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Provider).ReadDataApply(0xc000298d80, 0xc0005b7b28, 0xd985c0)
github.com/hashicorp/[email protected]/helper/schema/provider.go:451 +0x65
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadDataSource(0xc00011c870, {0xc00054c080, 0x4b4e06}, 0xc00054c080)
github.com/hashicorp/[email protected]/internal/helper/plugin/grpc_provider.go:1046 +0x2da
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadDataSource_Handler({0xe69060, 0xc00011c870}, {0x1073ef0, 0xc0007ee1e0}, 0xc0001ee060, 0x0)
github.com/hashicorp/[email protected]/internal/tfplugin5/tfplugin5.pb.go:3341 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000349880, {0x1083a58, 0xc0000f4480}, 0xc0007fa000, 0xc000322450, 0x1680ad0, 0x0)
google.golang.org/[email protected]/server.go:1194 +0xc8f
google.golang.org/grpc.(*Server).handleStream(0xc000349880, {0x1083a58, 0xc0000f4480}, 0xc0007fa000, 0x0)
google.golang.org/[email protected]/server.go:1517 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/[email protected]/server.go:859 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/[email protected]/server.go:857 +0x294

Error: The terraform-provider-constellix_v0.4.5 plugin crashed!`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant