Skip to content

Commit

Permalink
docs(manager/terraform): rewrite Terraform vs OpenTofu (#29010)
Browse files Browse the repository at this point in the history
  • Loading branch information
HonkingGoose authored May 11, 2024
1 parent 4d11583 commit b333f4b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/modules/manager/terraform/readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
### Terraform vs OpenTofu

There is no way for Renovate to differentiate, if a user is a Terraform user or has already adopted OpenTofu.
Therefore, Renovate defaults currently to interpret providers without a registry definition to be located at `registry.terraform.io`.
This behaviour can be modified using `packageRules`:
Renovate can not know if you want to use the Terraform or OpenTofu registry.
By default, Renovate uses the Terraform registry (`registry.terraform.io`) for providers _without_ a registry definition.

You can override this default with your own `packageRules`, for example:

```json title="Prefer releases from OpenTofu"
{
Expand Down

0 comments on commit b333f4b

Please sign in to comment.