Packer
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.
Note: Data sources is a feature exclusively available to HCL2 templates included in Packer v1.7.0
(and newer).