Loading...
Loading...
### Terraform Version ```shell 1.4.6 (cannot currently upgrade without significant development cost due to the required version of the module I'm trying to delete) ``` ### Terraform Configuration Files ```terraform ...terraform config... ``` ### Debug Output ``` Stack trace from the terraform-provider-aws_v4.53.0_x5 plugin: fatal error: concurrent map writes goroutine 1044 [running]: github.com/hashicorp/terraform-plugin-log/tflog.SetField.func1(...) github.com/hashicorp/terraform-plugin-log@v0.7.0/internal/logging/options.go:212 github.com/hashicorp/terraform-plugin-log/tflog.SetField({0x10f1c0100, 0x14002fb9980}, {0x10abc4658, 0x7}, {0x10c8a88a0?, 0x10f0d89f8}) github.com/hashicorp/terraform-plugin-log@v0.7.0/tflog/provider.go:18 +0xa0 github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2.setAWSFields({0x10f1c0100?, 0x14002fb9980?}, 0x14004740500) github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2@v2.0.0-beta.23/logger.go:39 +0x44 github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2.logRequest(0x14004740500) github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2@v2.0.0-beta.23/logger.go:69 +0x58 github.com/aws/aws-sdk-go/aws/request.(*HandlerList).Run(0x14004740728, 0x14004740500) github.com/aws/aws-sdk-go@v1.44.191/aws/request/handlers.go:267 +0x88 github.com/aws/aws-sdk-go/aws/request.(*Request).sendRequest(0x14004740500) github.com/aws/aws-sdk-go@v1.44.191/aws/request/request.go:602 +0x94 github.com/aws/aws-sdk-go/aws/request.(*Request).Send(0x14004740500) github.com/aws/aws-sdk-go@v1.44.191/aws/request/request.go:555 +0x114 github.com/aws/aws-sdk-go/aws/request.(*Pagination).Next(0x14002455bc8) github.com/aws/aws-sdk-go@v1.44.191/aws/request/request_pagination.go:107 +0xc4 github.com/aws/aws-sdk-go/service/ec2.(*EC2).DescribeNetworkInterfacesPagesWithContext(0x140005e4800, {0x10f1c0100?, 0x14002fb9980}, 0x14004119ae0, 0x14002455d00, {0x0, 0x0, 0x0}) github.com/aws/aws-sdk-go@v1.44.191/service/ec2/api.go:26518 +0x12c github.com/hashicorp/terraform-provider-aws/internal/service/ec2.FindNetworkInterfaces({0x10f1c0100?, 0x14002fb9980?}, 0x48?, 0x14004119ae0) github.com/hashicorp/terraform-provider-aws/internal/service/ec2/find.go:1526 +0x70 github.com/hashicorp/terraform-provider-aws/internal/service/ec2.FindNetworkInterface({0x10f1c0100?, 0x14002fb9980?}, 0x1156ecea0?, 0x14004119ae0) github.com/hashicorp/terraform-provider-aws/internal/service/ec2/find.go:1506 +0x28 github.com/hashicorp/terraform-provider-aws/internal/service/ec2.FindNetworkInterfaceByID({0x10f1c0100, 0x14002fb9980}, 0x140005d2e18?, {0x14005f9c780, 0x15}) github.com/hashicorp/terraform-provider-aws/internal/service/ec2/find.go:1559 +0x118 github.com/hashicorp/terraform-provider-aws/internal/service/ec2.StatusNetworkInterfaceStatus.func1() github.com/hashicorp/terraform-provider-aws/internal/service/ec2/status.go:1123 +0x30 github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.(*StateChangeConf).WaitForStateContext.func1() github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.1/helper/resource/state.go:110 +0x164 created by github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.(*StateChangeConf).WaitForStateContext github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.1/helper/resource/state.go:83 +0x1a4 goroutine 1 [select]: github.com/hashicorp/go-plugin.Serve(0x14004b8baa0) github.com/hashicorp/go-plugin@v1.4.8/server.go:471 +0x10f0 github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.Serve({0x10acec4bf, 0x23}, 0x140045a6f20, {0x0, 0x0, 0x0}) github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:312 +0x9e0 main.main() github.com/hashicorp/terraform-provider-aws/main.go:32 +0x1bc goroutine 327 [select]: github.com/hashicorp/go-plugin.(*gRPCBrokerServer).Recv(0x1400030c7e0?) github.com/hashicorp/go-plugin@v1.4.8/grpc_broker.go:121 +0x58 github.com/hashicorp/go-plugin.(*GRPCBroker).Run(0x140047e0d70) github.com/hashicorp/go-plugin@v1.4.8/grpc_broker.go:411 +0x40 created by github.com/hashicorp/go-plugin.(*GRPCServer).Init github.com/hashicorp/go-plugin@v1.4.8/grpc_server.go:85 +0x424 goroutine 328 [IO wait]: internal/poll.runtime_pollWait(0x140cda790, 0x72) runtime/netpoll.go:305 +0xa0 internal/poll.(*pollDesc).wait(0x14004b8bf20?, 0x1400372a000?, 0x1) internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x14004b8bf20, {0x1400372a000, 0x1000, 0x1000}) internal/poll/fd_unix.go:167 +0x1e0 os.(*File).read(...) os/file_posix.go:31 os.(*File).Read(0x14004aa0dc0, {0x1400372a000?, 0x400?, 0x10c98e180?}) os/file.go:118 +0x5c bufio.(*Reader).Read(0x140004d7f30, {0x1400025ec00, 0x400, 0x0?}) bufio/bufio.go:237 +0x1e0 github.com/hashicorp/go-plugin.copyChan({0x10f1e8790, 0x1400475aea0}, 0x0?, {0x10f102f60?, 0x14004aa0dc0?}) github.com/hashicorp/go-plugin@v1.4.8/grpc_stdio.go:181 +0x154 created by github.com/hashicorp/go-plugin.newGRPCStdioServer github.com/hashicorp/go-plugin@v1.4.8/grpc_stdio.go:37 +0x10c goroutine 329 [IO wait]: internal/poll.runtime_pollWait(0x140cda5b0, 0x72) runtime/netpoll.go:305 +0xa0 internal/poll.(*pollDesc).wait(0x14004c42000?, 0x1400372b000?, 0x1) internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x14004c42000, {0x1400372b000, 0x1000, 0x1000}) internal/poll/fd_unix.go:167 +0x1e0 os.(*File).read(...) os/file_posix.go:31 os.(*File).Read(0x14004aa0dd0, {0x1400372b000?, 0x400?, 0x10c98e180?}) os/file.go:118 +0x5c bufio.(*Reader).Read(0x140000a9730, {0x1400025f000, 0x400, 0x0?}) bufio/bufio.go:237 +0x1e0 github.com/hashicorp/go-plugin.copyChan({0x10f1e8790, 0x1400475aea0}, 0x0?, {0x10f102f60?, 0x14004aa0dd0?}) github.com/hashicorp/go-plugin@v1.4.8/grpc_stdio.go:181 +0x154 created by github.com/hashicorp/go-plugin.newGRPCStdioServer github.com/hashicorp/go-plugin@v1.4.8/grpc_stdio.go:38 +0x198 goroutine 331 [syscall]: os/signal.signal_recv() runtime/sigqueue.go:149 +0x2c os/signal.loop() os/signal/signal_unix.go:23 +0x1c created by os/signal.Notify.func1.1 os/signal/signal.go:151 +0x2c goroutine 332 [chan receive]: github.com/hashicorp/go-plugin.Serve.func3() github.com/hashicorp/go-plugin@v1.4.8/server.go:436 +0x70 Error: The terraform-provider-aws_v4.53.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. persons-v4 dev iac/wd-dev/app 🐻 terraform -version Terraform v1.4.6 on darwin_arm64 + provider registry.terraform.io/hashicorp/aws v4.53.0 + provider registry.terraform.io/hashicorp/local v2.3.0 Your version of Terraform is out of date! The latest version is 1.10.5. You can update by downloading from https://www.terraform.io/downloads.html ``` ### Expected Behavior Destroy completion without failure ### Actual Behavior Fatal panic ### Steps to Reproduce terraform init terraform destroy ### Additional Context _No response_ ### References - #33333 ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.