Code Monkey home page Code Monkey logo

Comments (1)

skyf0l avatar skyf0l commented on May 25, 2024

Here my terraform error log if it can help

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵

Stack trace from the terraform-provider-cloudflare_v4.26.0 plugin:

panic: interface conversion: interface {} is nil, not string

goroutine 68 [running]:
github.com/cloudflare/cloudflare-go.(*API).ListWorkerBindings(0xc0006ec8f0, {0x13e4130?, 0xc0003f33b0}, 0xc0007529a0, {{0xc0007186c0, 0x1a}})
        github.com/cloudflare/[email protected]/workers_bindings.go:506 +0xedb
github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider.getWorkerScriptBindings({0x13e4130?, 0xc0003f33b0?}, {0xc000718680?, 0x0?}, {0xc0007186c0?, 0x0?}, 0x0?)
        github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider/resource_cloudflare_workers_script.go:58 +0xd3
github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider.resourceCloudflareWorkerScriptRead({0x13e4130, 0xc0003f33b0}, 0xc000720700, {0x11d4ea0?, 0xc0006ec8f0})
        github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider/resource_cloudflare_workers_script.go:237 +0x569
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0000da540, {0x13e4088, 0xc0007a57a0}, 0xd?, {0x11d4ea0, 0xc0006ec8f0})
        github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:795 +0x11b
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0000da540, {0x13e4088, 0xc0007a57a0}, 0xc00031a1a0, {0x11d4ea0, 0xc0006ec8f0})
        github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1089 +0x552
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc000010228, {0x13e4088?, 0xc0007a5650?}, 0xc0003cdc80)
        github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:666 +0x48a
github.com/hashicorp/terraform-plugin-mux/tf5to6server.v5tov6Server.ReadResource({{0x13eaf60?, 0xc000010228?}}, {0x13e4088?, 0xc0007a5650?}, 0xc0003cda80?)
        github.com/hashicorp/[email protected]/tf5to6server/tf5to6server.go:218 +0x225
github.com/hashicorp/terraform-plugin-mux/tf6muxserver.(*muxServer).ReadResource(0x13e40c0?, {0x13e4088?, 0xc0007a52c0?}, 0xc0003cda80)
        github.com/hashicorp/[email protected]/tf6muxserver/mux_server_ReadResource.go:35 +0x193
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc0003eb7c0, {0x13e4088?, 0xc0007a49f0?}, 0xc000704840)
        github.com/hashicorp/[email protected]/tfprotov6/tf6server/server.go:775 +0x4c3
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0x11a6fe0?, 0xc0003eb7c0}, {0x13e4088, 0xc0007a49f0}, 0xc000720480, 0x0)
        github.com/hashicorp/[email protected]/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:482 +0x169
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000179000, {0x13e4088, 0xc0007a4960}, {0x13e9810, 0xc000500b60}, 0xc00074c6c0, 0xc000578d80, 0x1afb048, 0x0)
        google.golang.org/[email protected]/server.go:1383 +0xe03
google.golang.org/grpc.(*Server).handleStream(0xc000179000, {0x13e9810, 0xc000500b60}, 0xc00074c6c0)
        google.golang.org/[email protected]/server.go:1794 +0x100c
google.golang.org/grpc.(*Server).serveStreams.func2.1()
        google.golang.org/[email protected]/server.go:1027 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 55
        google.golang.org/[email protected]/server.go:1038 +0x135

Error: The terraform-provider-cloudflare_v4.26.0 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.

from cloudflare-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.