Skip to content

Instantly share code, notes, and snippets.

@simonctrlz
Created November 23, 2023 10:16
Show Gist options
  • Save simonctrlz/3ce56dab47c6253a1742938a4524a829 to your computer and use it in GitHub Desktop.
Save simonctrlz/3ce56dab47c6253a1742938a4524a829 to your computer and use it in GitHub Desktop.
consul_terraform_output.txt
module.local_consul.consul_config_entry_service_defaults.bug: Creating...
│ Error: Plugin did not respond
│ with module.local_consul.consul_config_entry_service_defaults.bug,
│ on ../consul/bug.tf line 2, in resource "consul_config_entry_service_defaults" "bug":
│ 2: resource "consul_config_entry_service_defaults" "bug" {
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more details.
Stack trace from the terraform-provider-consul_v2.20.0_x4 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf00130]
goroutine 41 [running]:
github.com/hashicorp/terraform-provider-consul/consul.(*serviceDefaults).Decode.func5(0xc000af3980?)
github.com/hashicorp/terraform-provider-consul/consul/resource_consul_config_entry_service_defaults.go:588 +0x330
github.com/hashicorp/terraform-provider-consul/consul.(*serviceDefaults).Decode(0xc000ad0330?, 0x101f7a0?)
github.com/hashicorp/terraform-provider-consul/consul/resource_consul_config_entry_service_defaults.go:680 +0x80a
github.com/hashicorp/terraform-provider-consul/consul.configEntryImplementationWrite.func1(0x10393e0?, {0x101f7a0, 0xc0004a62a0})
github.com/hashicorp/terraform-provider-consul/consul/resource_consul_config_entry_concrete.go:68 +0x7f
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).Apply(0xc000339d60, 0xc000a8f5e0, 0xc000af2940, {0x101f7a0, 0xc0004a62a0})
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/helper/schema/resource.go:320 +0x438
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Provider).Apply(0xc0000de000, 0xc000a278f0, 0x11b6027?, 0xf?)
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/helper/schema/provider.go:294 +0x70
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ApplyResourceChange(0xc000012948, {0xc000a92c40?, 0x4c21e6?}, 0xc000a92c40)
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/helper/plugin/grpc_provider.go:895 +0x805
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x116b8e0?, 0xc000012948}, {0x14d9820, 0xc000adac90}, 0xc000a92bd0, 0x0)
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/tfplugin5/tfplugin5.pb.go:3305 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00001c1e0, {0x14ded60, 0xc00040aea0}, 0xc000ad9440, 0xc00027aba0, 0x1c6c780, 0x0)
google.golang.org/grpc@v1.56.3/server.go:1335 +0xdf3
google.golang.org/grpc.(*Server).handleStream(0xc00001c1e0, {0x14ded60, 0xc00040aea0}, 0xc000ad9440, 0x0)
google.golang.org/grpc@v1.56.3/server.go:1712 +0xa36
google.golang.org/grpc.(*Server).serveStreams.func1.1()
google.golang.org/grpc@v1.56.3/server.go:947 +0xca
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.56.3/server.go:958 +0x15c
Error: The terraform-provider-consul_v2.20.0_x4 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment