Skip to content

Commit faab8de

Browse files
author
Wilken Rivera
authored
Merge pull request #12391 from hashicorp/nywilken/circular-datasource-link
[HPR-1038] Remove circular reference between data source doc pages
2 parents f359e51 + f809cbc commit faab8de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/content/docs/templates/hcl_templates/datasources.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ local name ("example"). The name is used to refer to this data source from elsew
3636
The data block creates a data instance of the given _type_ (first block label) and _name_ (second block label).
3737
The combination of the type and name must be unique within a configuration.
3838

39-
Within the block (the `{ }`) is the configuration for the data instance. The configuration is dependent on the type,
40-
and is documented for each data source in the [data sources](/packer/docs/datasources) section.
39+
Within the block (the `{ }`) is the configuration for the data instance. The configuration is dependent on the data source type,
40+
and is documented for each data source. For example the configuration of the `amazon-ami` data source can be found at [plugins/datasources/amazon/ami](/packer/plugins/datasources/amazon/ami#configuration-reference).
4141

4242
A data source can output one or more attributes, which can be used by adding their key name to the data source unique
4343
identifier, like `data.<TYPE>.<NAME>.<ATTRIBUTE>`.

0 commit comments

Comments
 (0)