Updated documentation with comments from @sethvargo and @radeksimko

This commit is contained in:
Nic Jackson 2017-04-07 10:26:30 +01:00
parent 45cacd4a9e
commit c0d6cedee6
No known key found for this signature in database
GPG Key ID: 2CD2E635F441E5E4
1 changed files with 3 additions and 3 deletions

View File

@ -118,10 +118,10 @@ KEY {
## Interpolation ## Interpolation
Providers support [interpolation syntax](/docs/configuration/interpolation.html) allowing dynamic configuration at run time. Providers support [interpolation syntax](/docs/configuration/interpolation.html) allowing dynamic configuration at run time.
``` ```hcl
provider "aws" { 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.