Skip to content

Automated Dependency Updates for Terraform Version

Categories: terraform

Renovate supports updating Terraform Version dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)\.terraform-version$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: github-releases.

Default config

{
  "fileMatch": [
    "(^|/)\\.terraform-version$"
  ],
  "versioning": "hashicorp",
  "extractVersion": "^v(?<version>.*)$"
}

Additional Information

This will maintain .terraform-version files. Available versions will be determined from the official Terraform downloads page.

Open items

The below list of features were current when this page was generated on February 24, 2024.

Feature requests

  • Support terraform-version version string like latest:^1.3 #19160