Skip to content

Instantly share code, notes, and snippets.

@haavardw
Last active June 14, 2021 19:58
Show Gist options
  • Save haavardw/ba266a8b4fcb93b89c08747e99c45832 to your computer and use it in GitHub Desktop.
Save haavardw/ba266a8b4fcb93b89c08747e99c45832 to your computer and use it in GitHub Desktop.
command line crash output
│ Error: Plugin did not respond
│ with module.iam.module.cognito.aws_cognito_identity_provider.oidc["###"],
│ on ../iam/cognito/oidc-provider.tf line 14, in resource "aws_cognito_identity_provider" "oidc":
│ 14: resource "aws_cognito_identity_provider" "oidc" {
│ The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain
│ more details.
│ Error: Plugin did not respond
│ with module.iam.module.cognito.aws_cognito_identity_provider.oidc["###"],
│ on ../iam/cognito/oidc-provider.tf line 14, in resource "aws_cognito_identity_provider" "oidc":
│ 14: resource "aws_cognito_identity_provider" "oidc" {
│ 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-aws_v3.45.0_x5 plugin:
panic: interface conversion: interface {} is nil, not []interface {}
goroutine 116 [running]:
github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsCognitoIdentityProviderUpdate(0xc001b25b00, 0x63161c0, 0xc001d2e000, 0x0, 0xffffffffffffffff)
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-aws/aws/resource_aws_cognito_identity_provider.go:194 +0x63f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).update(0xc00041d0a0, 0x7c5a368, 0xc001b4afc0, 0xc001b25b00, 0x63161c0, 0xc001d2e000, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:352 +0x1ee
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc00041d0a0, 0x7c5a368, 0xc001b4afc0, 0xc001b40fc0, 0xc001b78900, 0x63161c0, 0xc001d2e000, 0x0, 0x0, 0x0, ...)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:464 +0x390
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc00059a438, 0x7c5a368, 0xc001b4afc0, 0xc001b05270, 0xc001b4afc0, 0x6ef0f20, 0xc001b74600)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/grpc_provider.go:955 +0x8ef
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ApplyResourceChange(0xc00221a720, 0x7c5a410, 0xc001b4afc0, 0xc001b40e70, 0xc00221a720, 0xc001b74690, 0xc00012cba0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:332 +0xb5
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0x6ef0f20, 0xc00221a720, 0x7c5a410, 0xc001b74690, 0xc001b430e0, 0x0, 0x7c5a410, 0xc001b74690, 0xc001e8a000, 0x7f7)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:380 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00147a8c0, 0x7c7bed8, 0xc00142de00, 0xc000152a00, 0xc0007c98c0, 0xb3de840, 0x0, 0x0, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc00147a8c0, 0x7c7bed8, 0xc00142de00, 0xc000152a00, 0x0)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc001404820, 0xc00147a8c0, 0x7c7bed8, 0xc00142de00, 0xc000152a00)
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:859 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd
Error: The terraform-provider-aws_v3.45.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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment