From c0d6cedee6f4bcf82de8fa873ed9bcd8b2fd402e Mon Sep 17 00:00:00 2001 From: Nic Jackson Date: Fri, 7 Apr 2017 10:26:30 +0100 Subject: [PATCH] Updated documentation with comments from @sethvargo and @radeksimko --- website/source/docs/configuration/providers.html.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/docs/configuration/providers.html.md b/website/source/docs/configuration/providers.html.md index af1737ddd..0b277a912 100644 --- a/website/source/docs/configuration/providers.html.md +++ b/website/source/docs/configuration/providers.html.md @@ -118,10 +118,10 @@ KEY { ## Interpolation Providers support [interpolation syntax](/docs/configuration/interpolation.html) allowing dynamic configuration at run time. -``` +```hcl provider "aws" { - region = "${var.aws_region}" + region = "${var.aws_region}" } ``` -~> **NOTE:** Only [variables](/docs/configuration/variables) and [remote state](/docs/state/remote.html) are supported at this point, it is not currently possible to use the output from a resource, module or data source in the interpolation syntax for a provider. +-> **NOTE:** Because providers are one of the first things loaded when Terraform parses the graph, it is not possible to use the output from modules or resources as inputs to the provider. At this time, only [variables](/docs/configuration/variables.html) and [data sources](/docs/configuration/data-sources.html), including [remote state](/docs/providers/terraform/d/remote_state.html) may be used in an interpolation inside a provider stanza.