atmos packer init
purpose
Use this command to initialize Packer and install plugins according to an HCL template configuration for an Atmos component in a stack.
Usage​
Execute the packer init
command like this:
atmos packer init <component> --stack <stack> [flags] -- [packer-options]
tip
For more details on the packer init
command and options, refer to Packer init 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
.