mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 08:42:33 -04:00
14 lines
650 B
Text
14 lines
650 B
Text
---
|
|
page_title: Data sources overview
|
|
description: |
|
|
A data source holds data you want to use in the Packer configuration. Define a data source in your configuration so that Packer can use external data during builds.
|
|
---
|
|
|
|
# Data sources
|
|
|
|
Data sources let Packer fetch data to use in a template, including information defined outside of Packer.
|
|
|
|
Refer to the [`data`](/packer/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.
|
|
|
|
Data sources are only available in HCL2 templates and require Packer `v1.7.0` and newer.
|
|
|