renovate/lib/manager/terraform
2021-03-28 05:50:27 +00:00
..
__fixtures__ fix(terraform): do not abort search after first block (#9302) 2021-03-28 05:50:27 +00:00
__snapshots__ fix(terraform): do not abort search after first block (#9302) 2021-03-28 05:50:27 +00:00
extract.spec.ts fix(terraform): do not abort search after first block (#9302) 2021-03-28 05:50:27 +00:00
extract.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
index.ts refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00
modules.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
providers.ts fix(terraform): do not abort search after first block (#9302) 2021-03-28 05:50:27 +00:00
readme.md docs: improve versioning documentation (#9017) 2021-03-27 06:50:57 +01:00
required-providers.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
required-version.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
resources.ts refactor: eslint no-negated-condition (#8973) 2021-03-04 06:21:55 +01:00
util.spec.ts refactor(terraform-provider): refactor manager (#6637) 2020-07-01 17:17:40 +02:00
util.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00

Currently Terraform support is limited to Terraform registry sources and GitHub sources that include SemVer refs, e.g. like github.com/hashicorp/example?ref=v1.0.0.

Fixed versions like the following will receive a PR whenever there is a newer version available:

module "consul" {
  source  = "hashicorp/consul/aws"
  version = "0.0.5"
  servers = 3
}

The following range constraints are also 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

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