diff --git a/website/source/docs/configuration/interpolation.html.md b/website/source/docs/configuration/interpolation.html.md index d2dcb6a0d..dcec02448 100644 --- a/website/source/docs/configuration/interpolation.html.md +++ b/website/source/docs/configuration/interpolation.html.md @@ -27,7 +27,12 @@ that is a mapping. **To reference attributes of other resources**, the syntax is `TYPE.NAME.ATTRIBUTE`. For example, `${aws_instance.web.id}` will interpolate the ID attribute from the "aws\_instance" -resource named "web". +resource named "web". If the resource has a `count` attribute set, +you can access individual attributes with a zero-based index, such +as `${aws_instance.web.0.id}`. You can also use the splat syntax +to get a list of all the attributes: `${aws_instance.web.*.id}`. +This is documented in more detail in the +[resource configuration page](/docs/configuration/resources.html). **To reference outputs from a module**, the syntax is `MODULE.NAME.OUTPUT`. For example `${module.foo.bar}` will