From 4c221cbcb991176ce39de8016f48074c289693c6 Mon Sep 17 00:00:00 2001 From: Kristin Laemmert Date: Tue, 14 Jan 2020 07:59:18 -0500 Subject: [PATCH] website: document optional syntax for required_providers setting (#23854) --- website/docs/configuration/terraform.html.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/website/docs/configuration/terraform.html.md b/website/docs/configuration/terraform.html.md index c714adf67..50a28e723 100644 --- a/website/docs/configuration/terraform.html.md +++ b/website/docs/configuration/terraform.html.md @@ -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