You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running the tenv replacement for native tofu or terraform, and sending a SIGINT signal to it (by pressing CTRL+C), then the parent tenv gets killed immediately, and gives back a shell, while the underlying native tofu or terraform continues running, and sending data into the shell.
This also means one can't easily force a graceless (disgraceful?) shutdown with a second CTRL+C anymore.
module.d1.argocd_application.engine: Still creating... [3m30s elapsed]
module.d1.argocd_application.service: Still creating... [3m50s elapsed]
module.d1.argocd_application.engine: Still creating... [3m40s elapsed]
module.d1.argocd_application.service: Still creating... [4m0s elapsed]
module.d1.argocd_application.engine: Still creating... [3m50s elapsed]
module.d1.argocd_application.service: Still creating... [4m10s elapsed]
module.d1.argocd_application.engine: Still creating... [4m0s elapsed]
^CStopping operation...
Interrupt received.
Please wait for OpenTofu to exit or data loss may occur.
Gracefully shutting down...
fred@machine qa %
fred@machine qa % module.d1.argocd_application.service: Still creating... [4m20s elapsed]
module.d1.argocd_application.engine: Still creating... [4m10s elapsed]
fred@machine qa % module.d1.argocd_application.service: Still creating... [4m30s elapsed]
module.d1.argocd_application.engine: Still creating... [4m20s elapsed]
fred@machine qa % module.d1.argocd_application.service: Still creating... [4m40s elapsed]
module.d1.argocd_application.engine: Still creating... [4m30s elapsed]
module.d1.argocd_application.service: Still creating... [4m50s elapsed]
module.d1.argocd_application.engine: Still creating... [4m40s elapsed]
module.d1.argocd_application.engine: Still creating... [4m50s elapsed]
To Reproduce
Steps to reproduce the behavior:
Run tenv's terraform or tofu for a longer run
hit CTRL+C, even numerous times
Note you get your prompt back
Expected behavior
The same as if I run terraform or tofu natively. First CTRL+C - graceful shutdown, no prompt. Second CTRL+C: Immediate shutdown.
Btw. this was working fine with tfenv.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running the tenv replacement for native tofu or terraform, and sending a SIGINT signal to it (by pressing CTRL+C), then the parent tenv gets killed immediately, and gives back a shell, while the underlying native tofu or terraform continues running, and sending data into the shell.
This also means one can't easily force a graceless (disgraceful?) shutdown with a second CTRL+C anymore.
To Reproduce
Steps to reproduce the behavior:
terraform
ortofu
for a longer runExpected behavior
The same as if I run terraform or tofu natively. First CTRL+C - graceful shutdown, no prompt. Second CTRL+C: Immediate shutdown.
Btw. this was working fine with
tfenv
.The text was updated successfully, but these errors were encountered: