website/content/docs/datasources/index.mdx
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
[!IMPORTANT]
Documentation Update: Product documentation previously located in/websitehas moved to thehashicorp/web-unified-docsrepository, where all product documentation is now centralized. Please make contributions directly toweb-unified-docs, since changes to/websitein this repository will not appear on developer.hashicorp.com. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
Data sources let Packer fetch data to use in a template, including information defined outside of Packer.
Refer to the data 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.