github.com/hashicorp/packer@v1.14.3/hcl2template/testdata/build/post-processor_build_name_interpolation.pkr.hcl (about)

     1  build {
     2      name = "test-build"
     3      sources = [ "source.virtualbox-iso.ubuntu-1204" ]
     4  
     5      post-processor "manifest" {
     6          name         = build.name
     7          slice_string = ["${packer.version}", "${build.name}"]
     8      }
     9  
    10  }
    11  
    12  source "virtualbox-iso" "ubuntu-1204" {
    13  }