renovate/lib/manager/terraform
Sergei Zharinov 8a7abfdf01
refactor(github): Convert datasources to class form (#14124)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-02-13 03:24:40 +00:00
..
__fixtures__ tests(manager/terraform): split up tests and fix name collisions (#13750) 2022-01-23 06:14:32 +00:00
__snapshots__ tests(manager/terraform): split up tests and fix name collisions (#13750) 2022-01-23 06:14:32 +00:00
lockfile refactor: set importsNotUsedAsValues to error (#14052) 2022-02-07 06:37:17 +00:00
common.ts refactor: Use eslint rule to prohibit enums (#13703) 2022-01-21 15:33:23 +01:00
extract.spec.ts tests(manager/terraform): split up tests and fix name collisions (#13750) 2022-01-23 06:14:32 +00:00
extract.ts refactor: Use Windows-compatible regex for newlines (#13956) 2022-02-02 07:31:11 +00:00
index.ts refactor(github): Convert datasources to class form (#14124) 2022-02-13 03:24:40 +00:00
modules.spec.ts feat(terraform): modules with bitbucket repositories (#12770) 2021-11-25 22:06:30 +01:00
modules.ts refactor(github): Convert datasources to class form (#14124) 2022-02-13 03:24:40 +00:00
providers.ts refactor: Use union type for SkipReason (#13702) 2022-01-21 08:59:36 +01:00
readme.md docs(terraform): capitalize proper nouns, use monospaced text, fix grammar (#12662) 2021-11-15 12:01:26 +01:00
required-providers.ts fix: no-param-reassign (#12571) 2021-11-09 07:04:34 +01:00
required-version.ts refactor(github): Convert datasources to class form (#14124) 2022-02-13 03:24:40 +00:00
resources.ts refactor: Use union type for SkipReason (#13702) 2022-01-21 08:59:36 +01:00
types.ts refactor: extract more types (#9959) 2021-05-11 19:08:02 +02:00
util.spec.ts test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
util.ts fix: no-param-reassign (#12571) 2021-11-09 07:04:34 +01:00

Currently, Terraform supports renovating the following dependencies, where sub points represent hosting options of the dependencies:

  • modules
    • GitTags
    • GithubTags
    • TerraformRegistry ( Public and Private )
  • providers ( deprecated in Terraform 0.13.0 )
    • TerraformRegistry ( Public and Private )
  • required_providers block ( Terraform >= 0.13.0)
    • TerraformRegistry ( Public and Private )
  • required_version
  • helm_release
    • chart repository ( Public and Private )
  • docker_*
    • Docker registry ( Public and Private )

Terraform range constraints are supported:

  • >= 1.2.0: version 1.2.0 or newer
  • <= 1.2.0: version 1.2.0 or older
  • ~> 1.2.0: any non-beta version >= 1.2.0 and < 1.3.0, e.g. 1.2.X
  • ~> 1.2: any non-beta version >= 1.2.0 and < 2.0.0, e.g. 1.X.Y
  • >= 1.0.0, <= 2.0.0: any version between 1.0.0 and 2.0.0 inclusive

For fine-grained control, e.g. to turn off only parts of this manager, you can use the following depTypes:

resource depType
Terraform provider provider
required Terraform provider required_provider
required Terraform version required_version
Terraform module module
Helm release helm_release
Docker container docker_container
Docker image docker_image
Docker service docker_service

If you need to change the versioning format, read the versioning documentation to learn more.