Skip to content

crtl-c shows "graceful" shutdown message, then long pause, then terraform still destroys resources #30918

@josh-m-sharpe

Description

@josh-m-sharpe

Terraform Version

v1.1.7

Screenshot of destruction:

josh_ip-10-20-11-55__

Expected Behavior

not destroyed resources

Actual Behavior

resources destroyed. site down. 💥

Steps to Reproduce

Press ctrl-c - see graceful message. wait.

Additional Context

As noted in the screenshot there was a long pause after the Graceful shutdown message showed up to when it continued on and destroyed resources. That is, it had plenty of time to think about doing things and still didn't shutdown.

Counterintuitively, I'm pretty sure if I held ctrl-c down and sent the process 10s or 100s of kill signals it would've died "ungracefully" and the resource would not have been destroyed. This would've been a much better scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmeda Terraform Core team member has reproduced this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions