Back to Packer

Data sources

website/content/docs/datasources/index.mdx

1.15.3978 B
Original Source

⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️

[!IMPORTANT]
Documentation Update: Product documentation previously located in /website has moved to the hashicorp/web-unified-docs repository, where all product documentation is now centralized. Please make contributions directly to web-unified-docs, since changes to /website in this repository will not appear on developer.hashicorp.com. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️

Data sources

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.