Skip to content

Commit

Permalink
Update documentation for config-files to reference new product config…
Browse files Browse the repository at this point in the history
…uration in TOML configuration
  • Loading branch information
MatthewJohn committed Jun 5, 2024
1 parent 2a3ab61 commit e8e0707
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions www/docs/usage/config-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@ version = "0.11.3"
bin = "C:\\Users\\<%USRNAME%>\\bin\\terraform.exe"
```

## Setting product using .tfswitch.toml file

The .tfswitch.toml file can be configured with a `product` attribute to configure tfswitch to use Terraform or OpenTofu, by default:

```toml
product = "opentofu"
```

or

```toml
product = "terraform"
```

## Use terragrunt.hcl file

If a terragrunt.hcl file with the terraform constraint is included in the current directory, it should automatically download or switch to that terraform version.
Expand Down

0 comments on commit e8e0707

Please sign in to comment.