2013-08-13 21:34:44 -04:00
|
|
|
---
|
2015-07-22 22:31:00 -04:00
|
|
|
description: |
|
|
|
|
These are the machine-readable types that exist as part of the output of
|
|
|
|
`packer inspect`.
|
|
|
|
layout: 'docs\_machine\_readable'
|
|
|
|
page_title: 'Command: inspect - Machine-Readable Reference'
|
|
|
|
...
|
2013-08-13 21:34:44 -04:00
|
|
|
|
|
|
|
# Inspect Command Types
|
|
|
|
|
2015-07-22 22:31:00 -04:00
|
|
|
These are the machine-readable types that exist as part of the output of
|
|
|
|
`packer inspect`.
|
2013-08-13 21:34:44 -04:00
|
|
|
|
|
|
|
<dl>
|
2015-07-22 23:25:58 -04:00
|
|
|
<dt>
|
|
|
|
template-variable (3)
|
|
|
|
</dt>
|
|
|
|
<dd>
|
2015-07-22 22:31:00 -04:00
|
|
|
<p>
|
|
|
|
A <a href="/docs/templates/user-variables.html">user variable</a>
|
|
|
|
defined within the template.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<strong>Data 1: name</strong> - Name of the variable.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<strong>Data 2: default</strong> - The default value of the
|
|
|
|
variable.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<strong>Data 3: required</strong> - If non-zero, then this variable
|
|
|
|
is required.
|
|
|
|
</p>
|
|
|
|
|
2015-07-22 23:25:58 -04:00
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
template-builder (2)
|
|
|
|
</dt>
|
|
|
|
<dd>
|
2015-07-22 22:31:00 -04:00
|
|
|
<p>
|
|
|
|
A builder defined within the template
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<strong>Data 1: name</strong> - The name of the builder.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<strong>Data 2: type</strong> - The type of the builder. This will
|
|
|
|
generally be the same as the name unless you explicitly override
|
|
|
|
the name.
|
|
|
|
</p>
|
|
|
|
|
2015-07-22 23:25:58 -04:00
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
template-provisioner (1)
|
|
|
|
</dt>
|
|
|
|
<dd>
|
2015-07-22 22:31:00 -04:00
|
|
|
<p>
|
|
|
|
A provisioner defined within the template. Multiple of these may
|
|
|
|
exist. If so, they are outputted in the order they would run.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<strong>Data 1: name</strong> - The name/type of the provisioner.
|
|
|
|
</p>
|
|
|
|
|
2015-07-22 23:25:58 -04:00
|
|
|
</dd>
|
2013-08-13 21:34:44 -04:00
|
|
|
</dl>
|