# pulled from a random issue
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 401 [running]:
github.com/hashicorp/terraform-provider-aws/internal/service/events.expandConnectionHTTPParameters({0x1400056c5e0, 0x1, 0x1090d72cc?})
github.com/hashicorp/terraform-provider-aws/internal/service/events/connection.go:481 +0x270
github.com/hashicorp/terraform-provider-aws/internal/service/events.expandCreateConnectionAuthRequestParameters({0x1400056c5b0, 0x1, 0x14003086cf8?})
github.com/hashicorp/terraform-provider-aws/internal/service/events/connection.go:397 +0x23c
github.com/hashicorp/terraform-provider-aws/internal/service/events.resourceConnectionCreate(0x14000532380, {0x10b426d60?, 0x14000284000})
github.com/hashicorp/terraform-provider-aws/internal/service/events/connection.go:265 +0x110
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x10c996288?, {0x10c996288?, 0x140023eac90?}, 0xd?, {0x10b426d60?, 0x14000284000?})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/schema/resource.go:695 +0x138
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x14000f281c0, {0x10c996288, 0x140023eac90}, 0x1400053c1a0, 0x14000532200, {0x10b426d60, 0x14000284000})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/schema/resource.go:837 +0x874
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0x140001983d8, {0x10c996288?, 0x140023eab70?}, 0x1400350c230)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/schema/grpc_provider.go:1021 +0xb94
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.muxServer.ApplyResourceChange({0x14001d5cea0, 0x14001d5cf00, {0x14002922a00, 0x2, 0x2}, 0x14001d5ced0, 0x14001d841a0, 0x140024ed2d0, 0x14001d5cf30}, {0x10c996288?, ...}, ...)
github.com/hashicorp/terraform-plugin-mux@v0.7.0/tf5muxserver/mux_server_ApplyResourceChange.go:27 +0x108
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0x1400165bd60, {0x10c996288?, 0x140023ea300?}, 0x140034e2b60)
github.com/hashicorp/terraform-plugin-go@v0.13.0/tfprotov5/tf5server/server.go:813 +0x370
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x10c68fd20?, 0x1400165bd60}, {0x10c996288, 0x140023ea300}, 0x140034e2af0, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.13.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x174
google.golang.org/grpc.(*Server).processUnaryRPC(0x140023e2d20, {0x10c99b8d0, 0x140025911e0}, 0x1400350bd40, 0x1400295b4d0, 0x111f61080, 0x0)
google.golang.org/grpc@v1.48.0/server.go:1295 +0x9d8
google.golang.org/grpc.(*Server).handleStream(0x140023e2d20, {0x10c99b8d0, 0x140025911e0}, 0x1400350bd40, 0x0)
google.golang.org/grpc@v1.48.0/server.go:1636 +0x840
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.48.0/server.go:932 +0x88
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.48.0/server.go:930 +0x298
Error: The terraform-provider-aws_v4.26.0_x5 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.
%%%%%%%%%% TERRAFORM CRASH %%%%%%%%%%
Terraform Configuration Files
provider "aws" {
region = "us-east-1"
}
Steps to Reproduce
Do a thing
Do another thing
It breaks
Debug Output
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 401 [running]:
github.com/hashicorp/terraform-provider-aws/internal/service/events.expandConnectionHTTPParameters({0x1400056c5e0, 0x1, 0x1090d72cc?})
github.com/hashicorp/terraform-provider-aws/internal/service/events/connection.go:481 +0x270
github.com/hashicorp/terraform-provider-aws/internal/service/events.expandCreateConnectionAuthRequestParameters({0x1400056c5b0, 0x1, 0x14003086cf8?})
github.com/hashicorp/terraform-provider-aws/internal/service/events/connection.go:397 +0x23c
github.com/hashicorp/terraform-provider-aws/internal/service/events.resourceConnectionCreate(0x14000532380, {0x10b426d60?, 0x14000284000})
github.com/hashicorp/terraform-provider-aws/internal/service/events/connection.go:265 +0x110
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x10c996288?, {0x10c996288?, 0x140023eac90?}, 0xd?, {0x10b426d60?, 0x14000284000?})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/schema/resource.go:695 +0x138
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x14000f281c0, {0x10c996288, 0x140023eac90}, 0x1400053c1a0, 0x14000532200, {0x10b426d60, 0x14000284000})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/schema/resource.go:837 +0x874
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0x140001983d8, {0x10c996288?, 0x140023eab70?}, 0x1400350c230)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/schema/grpc_provider.go:1021 +0xb94
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.muxServer.ApplyResourceChange({0x14001d5cea0, 0x14001d5cf00, {0x14002922a00, 0x2, 0x2}, 0x14001d5ced0, 0x14001d841a0, 0x140024ed2d0, 0x14001d5cf30}, {0x10c996288?, ...}, ...)
github.com/hashicorp/terraform-plugin-mux@v0.7.0/tf5muxserver/mux_server_ApplyResourceChange.go:27 +0x108
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0x1400165bd60, {0x10c996288?, 0x140023ea300?}, 0x140034e2b60)
github.com/hashicorp/terraform-plugin-go@v0.13.0/tfprotov5/tf5server/server.go:813 +0x370
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x10c68fd20?, 0x1400165bd60}, {0x10c996288, 0x140023ea300}, 0x140034e2af0, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.13.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x174
google.golang.org/grpc.(*Server).processUnaryRPC(0x140023e2d20, {0x10c99b8d0, 0x140025911e0}, 0x1400350bd40, 0x1400295b4d0, 0x111f61080, 0x0)
google.golang.org/grpc@v1.48.0/server.go:1295 +0x9d8
google.golang.org/grpc.(*Server).handleStream(0x140023e2d20, {0x10c99b8d0, 0x140025911e0}, 0x1400350bd40, 0x0)
google.golang.org/grpc@v1.48.0/server.go:1636 +0x840
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.48.0/server.go:932 +0x88
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.48.0/server.go:930 +0x298
Error: The terraform-provider-aws_v4.26.0_x5 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.
%%%%%%%%%% TERRAFORM CRASH %%%%%%%%%%
Panic Output
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 401 [running]:
github.com/hashicorp/terraform-provider-aws/internal/service/events.expandConnectionHTTPParameters({0x1400056c5e0, 0x1, 0x1090d72cc?})
github.com/hashicorp/terraform-provider-aws/internal/service/events/connection.go:481 +0x270
github.com/hashicorp/terraform-provider-aws/internal/service/events.expandCreateConnectionAuthRequestParameters({0x1400056c5b0, 0x1, 0x14003086cf8?})
github.com/hashicorp/terraform-provider-aws/internal/service/events/connection.go:397 +0x23c
github.com/hashicorp/terraform-provider-aws/internal/service/events.resourceConnectionCreate(0x14000532380, {0x10b426d60?, 0x14000284000})
github.com/hashicorp/terraform-provider-aws/internal/service/events/connection.go:265 +0x110
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x10c996288?, {0x10c996288?, 0x140023eac90?}, 0xd?, {0x10b426d60?, 0x14000284000?})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/schema/resource.go:695 +0x138
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x14000f281c0, {0x10c996288, 0x140023eac90}, 0x1400053c1a0, 0x14000532200, {0x10b426d60, 0x14000284000})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/schema/resource.go:837 +0x874
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0x140001983d8, {0x10c996288?, 0x140023eab70?}, 0x1400350c230)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/schema/grpc_provider.go:1021 +0xb94
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.muxServer.ApplyResourceChange({0x14001d5cea0, 0x14001d5cf00, {0x14002922a00, 0x2, 0x2}, 0x14001d5ced0, 0x14001d841a0, 0x140024ed2d0, 0x14001d5cf30}, {0x10c996288?, ...}, ...)
github.com/hashicorp/terraform-plugin-mux@v0.7.0/tf5muxserver/mux_server_ApplyResourceChange.go:27 +0x108
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0x1400165bd60, {0x10c996288?, 0x140023ea300?}, 0x140034e2b60)
github.com/hashicorp/terraform-plugin-go@v0.13.0/tfprotov5/tf5server/server.go:813 +0x370
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x10c68fd20?, 0x1400165bd60}, {0x10c996288, 0x140023ea300}, 0x140034e2af0, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.13.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x174
google.golang.org/grpc.(*Server).processUnaryRPC(0x140023e2d20, {0x10c99b8d0, 0x140025911e0}, 0x1400350bd40, 0x1400295b4d0, 0x111f61080, 0x0)
google.golang.org/grpc@v1.48.0/server.go:1295 +0x9d8
google.golang.org/grpc.(*Server).handleStream(0x140023e2d20, {0x10c99b8d0, 0x140025911e0}, 0x1400350bd40, 0x0)
google.golang.org/grpc@v1.48.0/server.go:1636 +0x840
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.48.0/server.go:932 +0x88
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.48.0/server.go:930 +0x298
Error: The terraform-provider-aws_v4.26.0_x5 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.
%%%%%%%%%% TERRAFORM CRASH %%%%%%%%%%
Terraform Core Version
1.0.0
AWS Provider Version
4.26.0
Affected Resource(s)
Expected Behavior
It should work as I expected it to
Actual Behavior
It did not work as I expected it to
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
Panic Output
Important Factoids
These are some factoids
References
No response
Would you like to implement a fix?