tfutils/tfenv

Error "Text file busy" and "No error information"

wosiu opened this issue · 0 comments

wosiu commented

When I invoke terragrunt for uninstalled yet version of terraform, the desired version of terraform is installed, but then I get the error:

#/root/.tfenv/lib/tfenv-exec.sh: line 43: /root/.tfenv/versions/0.13.5/terraform: Text file busy
#/root/.tfenv/lib/tfenv-exec.sh: line 43: /root/.tfenv/versions/0.13.5/terraform: No error information

from: https://github.com/tfutils/tfenv/blob/master/lib/tfenv-exec.sh#L43C3-L43C3

It looks to me like some race condition.
Next invocation is fine.