Skip to content

Commit

Permalink
update location
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed Feb 5, 2021
1 parent ca0454a commit 326f572
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,6 @@ version = "0.11.3"
3. Run the command `tfswitch` in the same directory as your `.tfswitchrc`

#### *Instead of a `.tfswitchrc` file, a `.terraform-version` file may be used for compatibility with [`tfenv`](https://github.com/tfutils/tfenv#terraform-version-file) and other tools which use it*
## Order of precedence

| Order | Method |
| --- | ----------- |
| 1 | .tfswitch.toml |
| 2 | .tfswitchrc |
| 3 | .terraform-version |
| 4 | Environment variable |

With 1 being the highest precedence and 4 the lowest
*(If you disagree with this order of precedence, please open an issue)*
## Automation
**Automatically switch with bash**

Expand Down Expand Up @@ -273,7 +262,17 @@ jobs:

terraform -v #testing version
```
## Order of precedence
| Order | Method |
| --- | ----------- |
| 1 | .tfswitch.toml |
| 2 | .tfswitchrc |
| 3 | .terraform-version |
| 4 | Environment variable |
With 1 being the highest precedence and 4 the lowest
*(If you disagree with this order of precedence, please open an issue)*
## How to contribute
An open source project becomes meaningful when people collaborate to improve the code.
Feel free to look at the code, critique and make suggestions. Lets make `tfswitch` better!
Expand Down

0 comments on commit 326f572

Please sign in to comment.