atmos-packer
Atmos Packer Orchestration
Atmos wraps the Packer CLI to provide stack-aware orchestration of machine image builds. Instead of manually managing variable files, template paths, and environment configuration for each Packer component, Atmos resolves the full configuration from stack manifests and handles all of these concerns automatically.
How Atmos Orchestrates Packer
When you run any atmos packer command, Atmos performs the following sequence:
- Resolves stack configuration -- Reads and deep-merges all stack manifests to produce the fully resolved configuration for the target component in the target stack.
- Generates variable file -- Writes a variable file containing all
varsdefined for the component in the stack, making them available to the Packer template. - Auto-provisions source (if configured) -- If the component has a
sourcefield and the target directory does not exist, Atmos downloads the component via JIT vendoring before proceeding. - Resolves template path -- Determines the Packer template to use from the
--templateflag,settings.packer.templatein the stack manifest, or defaults to.(all*.pkr.hclfiles). - Sets environment variables -- Applies any
envvalues defined in the stack configuration.
More from cloudposse/atmos
atmos-design-patterns
Design patterns: stack organization, component catalogs, inheritance, configuration composition, version management, layered configuration
15atmos-config
Project configuration: atmos.yaml structure, all sections, discovery, merging, base paths, settings, imports, profiles
12atmos-workflows
Workflow automation: multi-step workflows, Go template support, cross-component orchestration
12atmos-helmfile
Helmfile orchestration: sync/apply/destroy/diff, Kubernetes deployments, varfile generation, EKS integration, source management
12atmos-stores
Store backends: AWS SSM, Azure Key Vault, Google Secret Manager, Redis, Artifactory configuration, hooks integration, cross-component data sharing
11atmos-stacks
Stack configuration: imports, inheritance, deep merging, locals, vars, settings, metadata, overrides
10