website: document optional syntax for required_providers setting (#23854)

This commit is contained in:
Kristin Laemmert 2020-01-14 07:59:18 -05:00 committed by GitHub
parent da67d86d7f
commit 4c221cbcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -130,6 +130,19 @@ Root modules should use a `~>` constraint to set both a lower and upper bound
on versions for each provider they depend on, as described in
[Provider Versions](providers.html#provider-versions).
An alternate syntax is also supported, but not intended for use at this time.
It exists to support future enhancements.
```hcl
terraform {
required_providers {
aws = {
version = ">= 2.7.0"
}
}
}
```
## Experimental Language Features
From time to time the Terraform team will introduce new language features