2021-01-20 11:05:03 +01:00
|
|
|
---
|
|
|
|
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
|
|
|
|
sidebar_title: Data Sources
|
|
|
|
---
|
|
|
|
|
|
|
|
# Data Sources
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2021-02-11 14:21:06 +01:00
|
|
|
See the [`data`](/docs/templates/hcl_templates/datasources) block documentation to learn more
|
|
|
|
about working with data sources. For information on an individual data source,
|
|
|
|
choose it from the sidebar.
|
|
|
|
|
2021-03-29 11:01:03 +02:00
|
|
|
-> **Note:** Data sources is a feature exclusively available to HCL2 templates included in Packer `v1.7.0` (and newer).
|