renovate/lib/manager/terraform
2021-04-26 16:15:03 +02:00
..
__fixtures__ fix(terraform): skip interpretation of nested blocks (#9411) 2021-04-06 13:09:09 +02:00
__snapshots__ feat(terraform): rework dep types (#9116) 2021-04-22 08:47:58 +02:00
extract.spec.ts feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
extract.ts feat(terraform): rework dep types (#9116) 2021-04-22 08:47:58 +02:00
index.ts refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00
modules.spec.ts feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
modules.ts fix(terraform): support github repo source url with underscores (#9661) 2021-04-23 17:32:45 +00:00
providers.ts feat(terraform): rework dep types (#9116) 2021-04-22 08:47:58 +02:00
readme.md feat(terraform): rework dep types (#9116) 2021-04-22 08:47:58 +02:00
required-providers.ts feat(terraform): rework dep types (#9116) 2021-04-22 08:47:58 +02:00
required-version.ts feat(terraform): rework dep types (#9116) 2021-04-22 08:47:58 +02:00
resources.ts feat(terraform): rework dep types (#9116) 2021-04-22 08:47:58 +02:00
util.spec.ts feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
util.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +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, there are following depTypes provided:

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.