Updated provider documentation to highlight limitations of interpolation syntax

This commit is contained in:
Nic Jackson 2017-04-06 09:19:37 +01:00
parent e2a428b43f
commit b908fc54dc
No known key found for this signature in database
GPG Key ID: 2CD2E635F441E5E4
1 changed files with 11 additions and 0 deletions

View File

@ -117,3 +117,14 @@ KEY {
CONFIG CONFIG
} }
``` ```
## Interpolation
Providers support [interpolation syntax](/docs/configuration/interpolation.html) allowing dynamic configuration at run time.
```
provider "aws" {
region = "${var.aws_region}"
}
```
Only [variables](/docs/configuration/variables) and [remote state](/docs/state/remote.html) are supported, it is not possible to use the output from a resource, module or data source in the interpolation syntax for a provider.