Packer
The data block
The data
block defines data sources within your Packer configuration.
# datasource.pkr.hcl
data "amazon-ami" "basic-example" {
// ...
}
More on data sources
- Read the full Data Sources description for a more thorough read.
The data
block defines data sources within your Packer configuration.
# datasource.pkr.hcl
data "amazon-ami" "basic-example" {
// ...
}