atmos packer
Use these subcommands to interact with HashiCorp Packer to build automated machine images.
Usage
For more details on the Packer commands and options, refer to Packer Commands.
Atmos Flags
--stack
(alias-s
)Atmos stack.
--template
(alias-t
)(optional)Packer template. It can be specified in the
settings.packer.template
section in the Atmos component manifest, or on the command line via the flag--template <template>
(shorthand-t
). The command line flag takes precedence oversettings.packer.template
.--query
(alias-q
)(optional)YQ expression to get sections and attributes from a Packer manifest. Used in the
atmos packer output
command.
Examples
Subcommands
📄️ build
Use this command to process a Packer template configured for an Atmos component in a stack, and build it to generate a set of artifacts.
📄️ init
Use this command to initialize Packer and install plugins according to an HCL template configuration for an Atmos component in a stack.
📄️ inspect
Use this command to inspect the various components that a Packer template configured for an Atmos component in a stack defines.
📄️ output
Use this command to get an output from a Packer manifest.
📄️ validate
Use this command to validate the syntax and configuration of a Packer template configured for an Atmos component in a stack.
📄️ version
Use this command to display the currently installed Packer version.