atmos packer output
purpose
Use this command to get an output from a Packer manifest.
Manifests are generated by Packer when executing packer build commands (if configured in the Packer template and Atmos stack).
YQ expressions and functions are supported to get any section or attribute from the manifest.
Usage​
Execute the packer output command like this:
atmos packer output <component> --stack <stack> --query <yq-expression>
note
atmos packer output command is specific to Atmos (Packer itself does not have an output command).
The command is used to get an output from a Packer manifest.
Manifests are generated by Packer when executing packer build commands (if configured in the Packer template and Atmos stack).
Arguments​
component(required)Atmos Packer component.
Flags​
--stack(alias-s)(required)Atmos stack.
--query(alias-q)(optional)YQ expression to get sections and attributes from a Packer manifest.