Bug: Tfswitch not following documented precedence #491
Labels
bug
Something isn't working
documentation
Add or improve documentation: README/CHANGELOG/comments on code
I am using the tfswitch for terraform module development. As part of the development, we set the required terraform version in the .tfswitchrc file.
The .tfswitchrc file is set as follows.
The terraform versions.tf file is configured as follows:
The intension behind this setup is that. The module can be used by any terraform code >= 1.8.5 but during the module development itself the TF version should be fixed at 1.8.5. Ensuring tf version at 1.8.5 during module development ensures that module does not include any newer TF features which will break older clients which are on 1.8.5.
This earlier used to work but recently during tfswitch its choosing latest TF version:
This breaks the precedent order documented at: https://tfswitch.warrensbox.com/usage/general/
Please let me know if this expected or a regression bug.
The text was updated successfully, but these errors were encountered: