mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-28 12:31:32 -05:00
* Update content for devdot * more edits * Update website/content/docs/templates/hcl_templates/blocks/index.mdx * Update website/content/docs/provisioners/index.mdx * Update website/content/docs/datasources/index.mdx
15 lines
654 B
Text
15 lines
654 B
Text
---
|
|
description: |
|
|
Data sources allow data to be fetched for use in Packer configuration. Use of data sources
|
|
allows a build to use information defined outside of Packer.
|
|
page_title: Data Sources
|
|
---
|
|
|
|
# Data Sources
|
|
|
|
Data sources let Packer fetch data to use in a template, including information defined outside of Packer.
|
|
|
|
Refer to the [`data`](/docs/templates/hcl_templates/datasources) block documentation to learn more about working with data sources. The documentation also contains details about each type of data source.
|
|
|
|
-> **Note:** Data sources is a feature exclusively available to HCL2 templates included in Packer `v1.7.0` (and newer).
|
|
|