docs(terraform): Make version perf issue obvious (#2107)

This intends to make the performance issue with the terraform version
more obvious.
This commit is contained in:
Thomas O'Donnell 2021-01-23 15:17:51 +01:00 committed by GitHub
parent 5eacd3abee
commit a67bf5b34f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -2345,8 +2345,14 @@ format = "via [🏎 $version](red bold)"
## Terraform
The `terraform` module shows the currently selected terraform workspace and version.
By default the terraform version is not shown, since this is slow on current versions of terraform when a lot of plugins are in use.
::: tip
By default the terraform version is not shown, since this is slow for current versions of terraform when a lot of plugins are in use.
If you still want to enable it, [follow the example shown below](#with-version).
:::
The module will be shown if any of the following conditions are met:
- The current directory contains a `.terraform` folder