mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-19 22:41:40 -04:00
15 lines
650 B
Plaintext
15 lines
650 B
Plaintext
---
|
|
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.
|
|
|