tide icon indicating copy to clipboard operation
tide copied to clipboard

Which terraform

Open jcollado opened this issue 1 year ago • 1 comments

Description

Check that terraform binary is available before trying to use it.

Motivation and Context

Remove error messages when a .terraform directory is present, but the terraform binary is not available.

Closes #534

Screenshots (if appropriate)

How Has This Been Tested

I have used the code in this with/without terraform being present, and it worked as expected.

  • [x] I have tested using Linux.
  • [ ] I have tested using MacOS.

Checklist

  • [x] I am ready to update the wiki accordingly.
  • [x] I have updated the tests accordingly.

jcollado avatar Oct 16 '24 13:10 jcollado

A couple of comments regarding the checklist:

  • I believe that the wiki doesn't need to be updated.
  • I've updated the test cases so that they pass. However, I don't know what would be the right way to add a test to verify the situation when the terraform command is not found.

jcollado avatar Oct 16 '24 14:10 jcollado