Skip to content

[BUG]: Cancelling terraform apply hangs indefinitely #2299

@pete-woods

Description

@pete-woods

Expected Behavior

Terraform should stop when asked.

Actual Behavior

Cancelled terraform apply hung forever until forcibly killed (SIGKILL).

Terraform Version

Terraform 1.7.4 on linux AMD64

Affected Resource(s)

All resources, I think

Terraform Configuration Files

No response

Steps to Reproduce

Just a regular terraform apply (that perhaps is taking too long) and then cancelling

Debug Output

module.clojure_service_image.github_repository_collaborators.all: Refreshing state... [id=clojure-service-image]
module.cci_synthetics.github_repository_collaborators.all: Refreshing state... [id=cci-synthetics]
module.jira_tickets_for_new_vulns.github_branch_protection.default: Refreshing state... [id=BPR_kwDOII76r84B_P4l]

Too long with no output (exceeded 10m0s): context deadline exceeded

Panic Output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Fix

An attempt at a fix is here: #2298

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    ✅ Done

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions