Update website/content/docs/templates/hcl_templates/datasources.mdx
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
This commit is contained in:
parent
378786dcd6
commit
78a48ea429
|
@ -43,7 +43,7 @@ and is documented for each data source in the [data sources](/docs/datasources)
|
||||||
A data source can output one or more attributes, which can be used by adding their key name to the data source unique
|
A data source can output one or more attributes, which can be used by adding their key name to the data source unique
|
||||||
identifier, like `data.<TYPE>.<NAME>.<ATTRIBUTE>`.
|
identifier, like `data.<TYPE>.<NAME>.<ATTRIBUTE>`.
|
||||||
|
|
||||||
The output from the `amazon-ami.example` above can be access as follows:
|
The output from the `amazon-ami.example` above can be accessed as follows:
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
// in a local
|
// in a local
|
||||||
|
|
Loading…
Reference in New Issue