github.com/hashicorp/packer@v1.14.3/hcl2template/testdata/hcp_par/build-block-error-multiple-hcp-declaration.pkr.hcl (about)

     1  source "null" "test" {
     2    communicator = "none"
     3  }
     4  
     5  build {
     6    name = "build1"
     7    hcp_packer_registry {
     8      bucket_name = "ok-Bucket-name-1"
     9    }
    10  
    11    sources = ["null.test"]
    12  }
    13  
    14  build {
    15    name = "build2"
    16    hcp_packer_registry {
    17      bucket_name = "ok-Bucket-name-1"
    18    }
    19  
    20    sources = ["null.test"]
    21  }