atmos packer 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. The builds specified within a template are executed in parallel, unless otherwise specified. The artifacts that are created will be outputted at the end of the build, and a Packer manifest (if configured in the Atmos component) will be updated with the results of the build.
Usage​
Execute the packer build
command like this:
atmos packer build <component> --stack <stack> [flags] -- [packer-options]
For more details on the packer build
command and options, refer to Packer build command reference.
Arguments​
component
(required)Atmos Packer component.
Flags​
--stack
(alias-s
)(required)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
.