github.com/hashicorp/packer@v1.14.3/command/test-fixtures/hcl/inspect/aws-builds.pkr.hcl (about)

     1  
     2  
     3  build {
     4    name = "aws_example_builder"
     5    description = <<EOF
     6  The builder of clouds !!
     7  
     8  Use it at will.
     9  EOF
    10  
    11    sources = [
    12        "source.amazon-ebs.example-1",
    13  
    14        // this one is not defined but we don't want to error there, we just
    15        // would like to show what sources are being referenced.
    16        "source.amazon-ebs.example-2", 
    17    ]
    18  
    19    provisioner "shell" {
    20      files = [
    21        "bins/install-this.sh",
    22        "bins/install-that.sh",
    23        "bins/conf-this.sh",
    24      ]
    25    }
    26  
    27    post-processor "manifest" {
    28    }
    29  
    30    post-processor "shell-local" {
    31    }
    32  
    33    post-processors {
    34      post-processor "manifest" {
    35      }
    36  
    37      post-processor "shell-local" {
    38      }
    39    }
    40  }