Skip to content

Panic in Terraform console command #33195

@pcarles

Description

@pcarles

Terraform Version

Terraform v1.4.6
on linux_amd64

Terraform Configuration Files

No config files required

Debug Output

https://gist.github.com/pcarles/da14c26485822361018252868c66e62f

Expected Behavior

Terraform should exit gracefully

Actual Behavior

Terraform panic with a segfault

Steps to Reproduce

  1. terraform console anywhere
  2. Hit Ctrl + R to go in backward search
  3. Hit Ctrl + C to exit Terraform console

Additional Context

You don't need any configuration file to reproduce this error, and doing it with configuration files present do not change the behavior, it seems to be consistent.

I may open a PR to to fix it when I have a bit of time

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions