github.com/hashicorp/packer@v1.14.3/command/test-fixtures/build-only/not-found.json (about)

     1  {
     2      "builders": [
     3          {
     4              "name": "chocolate",
     5              "type": "file",
     6              "content": "chocolate",
     7              "target": "chocolate.txt"
     8          },
     9          {
    10              "name": "vanilla",
    11              "type": "non-existing",
    12              "content": "vanilla",
    13              "target": "vanilla.txt"
    14          }
    15      ],
    16      "post-processors": [
    17          [
    18              {
    19                  "only": [
    20                      "vanilla"
    21                  ],
    22                  "name": "tomato",
    23                  "type": "shell-local",
    24                  "inline": [
    25                      "echo tomato > tomato.txt"
    26                  ]
    27              }
    28          ],
    29          [
    30              {
    31                  "only": [
    32                      "chocolate"
    33                  ],
    34                  "type": "shell-local",
    35                  "inline": [
    36                      "echo unnamed > unnamed.txt"
    37                  ]
    38              }
    39          ]
    40      ]
    41  }