github.com/hashicorp/packer@v1.14.3/command/test-fixtures/validate/build.pkr.hcl (about)

     1  packer {
     2    required_version = ">= v1.0.0"
     3  }
     4  
     5  source "file" "chocolate" {
     6    target = "chocolate.txt"
     7    content = "chocolate"
     8  }
     9  
    10  build {
    11    sources = ["source.file.chocolate"]
    12  }