github.com/hashicorp/packer@v1.14.3/website/content/docs/datasources/index.mdx (about) 1 --- 2 page_title: Data sources overview 3 description: | 4 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. 5 --- 6 7 # Data sources 8 9 Data sources let Packer fetch data to use in a template, including information defined outside of Packer. 10 11 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. 12 13 Data sources are only available in HCL2 templates and require Packer `v1.7.0` and newer. 14