mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 15:36:25 +00:00
.. | ||
__fixtures__ | ||
__snapshots__ | ||
extract.spec.ts | ||
extract.ts | ||
index.ts | ||
modules.ts | ||
providers.ts | ||
readme.md | ||
required-providers.ts | ||
required-version.ts | ||
resources.ts | ||
util.spec.ts | ||
util.ts |
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.