跳到正文
本页尚未翻译成中文,以下为英文原文。 查看英文版

The data block ​

The data block defines data sources within your Packer configuration.

hcl
# datasource.pkr.hcl
data "amazon-ami" "basic-example" {
  // ...
}

More on data sources ​

基于 MPL-2.0 许可证发布。