renovate/lib/modules/manager/terraform
Sergei Zharinov e26130329d
refactor(fs): Add tests for every filesystem function (#16495)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-09 18:50:45 +00:00
..
__fixtures__ feat(manager/terraform): support multiple container images (#16107) 2022-06-16 14:06:36 +00:00
__snapshots__ fix(manager:terraform): use github-releases (#15713) 2022-05-26 04:47:10 +00:00
extract refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +00:00
lockfile refactor(fs): Add tests for every filesystem function (#16495) 2022-07-09 18:50:45 +00:00
common.ts feat(terraform): kubernetes image resources support (#16029) 2022-06-14 19:51:11 +00:00
extract.spec.ts refactor: strict manager tests (#16155) 2022-06-20 17:05:39 +02:00
extract.ts feat(terraform): kubernetes image resources support (#16029) 2022-06-14 19:51:11 +00:00
index.ts fix(manager:terraform): use github-releases (#15713) 2022-05-26 04:47:10 +00:00
modules.spec.ts refactor: strict manager tests (#16155) 2022-06-20 17:05:39 +02:00
modules.ts refactor: enable strict checks (#16168) 2022-06-21 13:00:21 +02:00
providers.ts refactor: enable strict checks (#16168) 2022-06-21 13:00:21 +02:00
readme.md feat(terraform): kubernetes image resources support (#16029) 2022-06-14 19:51:11 +00:00
required-providers.ts refactor: enable strict checks (#16168) 2022-06-21 13:00:21 +02:00
required-version.ts refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +00:00
resources.ts refactor: enable strict checks (#16168) 2022-06-21 13:00:21 +02:00
types.ts feat(terraform): kubernetes image resources support (#16029) 2022-06-14 19:51:11 +00:00
util.spec.ts test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
util.ts refactor: enable strict checks (#16168) 2022-06-21 13:00:21 +02: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 )
  • kubernetes_*
    • Docker registry ( Public and Private )
  • tfe_workspace ( terraform_version argument )

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 Notes
Terraform provider provider
required Terraform provider required_provider
required Terraform version required_version This handles the required_version in terraform blocks
TFE workspace tfe_workspace This handles the terraform_version argument in tfe_workspace resources
Terraform module module
Helm release helm_release
Docker container docker_container
Docker image docker_image
Docker service docker_service
Kubernetes CronJob kubernetes_cron_job
Kubernetes CronJob v1 kubernetes_cron_job_v1
Kubernetes DaemonSet kubernetes_daemon_set
Kubernetes DaemonSet v1 kubernetes_daemon_set_v1
Kubernetes Deployment kubernetes_deployment
Kubernetes Deployment v1 kubernetes_deployment_v1
Kubernetes Job kubernetes_job
Kubernetes Job v1 kubernetes_job_v1
Kubernetes Pod kubernetes_pod
Kubernetes Pod v1 kubernetes_pod_v1
Kubernetes Replication Controller kubernetes_replication_controller
Kubernetes Replication Controller v1 kubernetes_replication_controller_v1
Kubernetes StatefulSet kubernetes_stateful_set
Kubernetes StatefulSet v1 kubernetes_stateful_set_v1

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