NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #1416 by repository stars
Latest stable
v1.234.0
Last release 13 days ago
09 Nov 2026
Ships on a steady schedule
a new release about every 8 days
Some releases are documented
notes for 32 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
2417 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Split help command sections and redesign error formatting @osterman
<details> <summary>Split help command sections and redesign error formatting @osterman (#2678)</summary>
BUILT-IN COMMANDS and CUSTOM COMMANDS, while keeping config aliases in the dedicated ALIASES section.💡 action lines.go test ./errors, go test ./cmd, targeted CLI snapshot checks, full TestCLICommands snapshot regeneration, and pre-commit hooks.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
atmos --help now groups commands into BUILT-IN COMMANDS and CUSTOM COMMANDS (with clearer alignment and sectioning).Bug Fixes
--help/command errors reflect the updated layout.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details><details> <summary>Fix GitHub artifact signed URL download @osterman (#2683)</summary>
Authorization header.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>Fix native CI dogfood regressions @osterman (#2681)</summary>
atmos git clone can run before repo-local profile/config files exist, and make the cache action fail fast when Atmos cache metadata is missing.path state reads, remote source-provisioned lock persistence, Docker python3, Aqua latest lookup fallback, and emulator job-container networking.docker run --network host wrapper.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
git clone bootstrap handling during configuration initialization.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Modeling this as provider capabilities (rather than reviving the deprecated ci.* hook *kinds*) keeps CI reporting where it belongs and lets every SARI…
<details> <summary>feat: native Helm components (experimental) @osterman (#2667)</summary>
Adds the native Helm component type to Atmos (stacked on the native Kubernetes work), so components.helm.<name> is a first-class component with the same stack semantics as Terraform/Kubernetes — rendered, diffed, applied, and deleted through the Helm Go SDK (no helm/helmfile binary required).
This branch contributes, on top of osterman/kubernetes-native-component:
atmos helm commands — template, diff, plan, apply, deploy, delete. Charts can be local, repository, OCI, or vendored from a source: (parity with terraform/kubernetes JIT provisioning). values: is the chart's values; secrets flow via !secret and are masked.atmos helm renders the [EXPERIMENTAL] badge and honors settings.experimental / ATMOS_EXPERIMENTAL.diff — atmos helm diff/plan now produces a true unified diff via the helm-diff library (used as a Go library, not the CLI plugin; v3.15.10 pins the same helm.sh/helm/v4 v4.2.1 Atmos uses). Secret values are redacted. Three baselines:
action.NewGet, cluster only for the baseline)--from-manifest=<path> — local baseline file (offline)--against=target[:<name>] — current manifests in a git deployment-repo provision target (offline; the GitOps producer-side diff)apply/deploy can publish rendered manifests to a git deployment repository (provision targets). A new optional Fetcher capability on the target registry lets diff read that target's current state..Diff job summary at parity with the native Kubernetes component (collapsible block, Secrets omitted).Helm has no native cross-release dependency ordering, no first-class secrets, and no in-process rendering — the ecosystem stitches together helm, helmfile, helm-secrets, and helm-diff. Atmos provides these directly through the stack model and the Helm Go SDK, including a real diff with no plugin to install, plus an offline GitOps-repo diff for producer-side workflows.
atmos helm, helm diff, Helm componentswebsite/blog/2026-06-15-native-helm-components.mdxexamples/helmexecutor.go/provision.go, e.g. os.Getenv→viper, funlen, arg-limit) is tracked for a follow-up cleanup; the diff work itself is lint-clean against the base.</details>
<details> <summary>feat: local Terraform tests against cloud emulators @osterman (#2663)</summary>
atmos terraform test (Terraform's native *.tftest.hcl framework) against a local cloud emulator instead of a real cloud account, via a new examples/terraform-tests example.before.terraform.test / after.terraform.test lifecycle events and wire cmd/terraform/test.go to capture output and fire them — which drives both component hooks: and the native-CI plugin from one place.emulator workflow step type that drives emulator up/down/reset, so declarative kind: step hooks can bring a sandbox up before tests and tear it down after (when: always), with no manual atmos emulator up/down.terraform test: pass/fail/skip badges and a per-run results table, alongside the existing plan/apply summaries.parsePodmanContainer dropped the container Ports array, so the emulator endpoint resolved empty and Terraform silently hit real AWS (403 InvalidAccessKeyId). Podman's structured Ports are now parsed into Info.Ports.docs/fixes/ write-up for the Podman fix.terraform test's apply run blocks create real infrastructure, so they need a cloud account and spend and rarely run locally — pointing them at an emulator makes them free, hermetic, and identical local↔CI.kind: step machinery.emulator-aws example), and is documented in docs/fixes/ rather than the changelog because it restores already-intended behavior.docs/fixes/2026-06-27-podman-port-readback-emulator-endpoint.md.website/blog/2026-06-27-local-terraform-tests-with-emulators.mdx.</details>
<details> <summary>[codex] Fix mobile gutters and name runtime CSS @osterman (#2673)</summary>
landing-redesign.css to landing-runtime.css.src/css/landing-runtime.css and AISection/styles.css.postcss.parse passed for the updated CSS files.</details>
<details> <summary>feat: native Kubernetes components with GitOps deployment-repo delivery @osterman (#2607)</summary>
kubernetes component type. Define Kubernetes objects in stacks and run atmos kubernetes render|diff|plan|apply|deploy|delete <component> -s <stack> through the Kubernetes Go SDKs (server-side apply) — no kubectl or kustomize binary required.manifests, files/directories (paths), and Kustomize overlays; full stack semantics (vars/env/auth/metadata/inheritance/overrides), --all/--affected DAG ordering, Atmos Auth (e.g. EKS) integration, and dotted lifecycle hooks (before/after.kubernetes.*).provision.targets. apply/deploy deliver to a target selected by kind: kubernetes applies to the cluster (default), git renders the manifests and commits them to a managed Git deployment repository (Argo CD/Flux source-of-truth) instead. Selected with --target (precedence: --target → provision.default → implicit cluster), so existing components are unaffected.pkg/provisioner/target, registry pattern) + a ProvisionArtifact model. The git target composes the pkg/git service: clone-reconcile a git.repositories.<name>, replace the managed templated path with the rendered files, path-scoped commit with provenance trailers, and push-with-retry. Credentials come from Atmos Auth (GitHub STS); pull_request publishing is deferred.kubernetes component and provision.targets in Go schema and both JSON schemas; LSP; command/config/stack docs; examples/kubernetes and examples/kustomize; a changelog blog post and a roadmap milestone.kubectl/kustomize from glue scripts.provision.targets adds the delivery step with centralized safety rules — the same component config can apply to a cluster in dev and publish to a GitOps repo in prod with one flag.main, which provides the reusable pkg/git service and git.repositories configuration consumed by the git target.atmos kubernetes.</details>
<details> <summary>Add emulator workflows, skill catalog, and website refresh @osterman (#2665)</summary>
</details>
<details> <summary>Add parallel and matrix workflow control steps @osterman (#2635)</summary>
parallel and matrix workflow control steps with sibling needs DAG scheduling.pkg/workflow.pkg/runner/step/parallel and pkg/runner/step/matrix handlers, JSON schema updates, and examples/parallel-steps.internal/exec.pkg/workflow coverage above 80%.pkg/workflow coverage: 82.9%go test ./pkg/schema ./pkg/runner/step ./pkg/scheduler ./pkg/workflow ./internal/execgo test ./cmd ./tests -run 'Workflow|workflow|Schema|schema'./custom-gcl run --new-from-rev=origin/main --config=.golangci.yml</details>
<details> <summary>feat(emulator): local cloud emulators + emulator-based advanced quick-start & docs example drawer @osterman (#2647)</summary>
Emulator feature — run cloud-service emulators locally as first-class Atmos components:
emulator component kind + driver registry (pkg/emulator): the EmulatorDriver interface, ResolveDriver/Drivers, Endpoint/Profile types, the built-in AWS Floci driver, and the AWS target-profile builder (dummy creds, AWS_ENDPOINT_URL, and the Terraform provider behavior flags env can't set).atmos emulator CLI (cmd/emulator): lifecycle verbs (up/down/reset/list/…), flags, and shell completions.pkg/auth, pkg/component, internal/exec); generic provider-config contribution (pkg/generator).docs/prd/emulators.md, docs/prd/kubernetes-identity.md, docs/prd/provider-config-contributor.md.examples/emulator-aws, examples/demo-floci, and the floci/acceptance jobs.website/blog/2026-06-22-emulator-persistence.mdx.Emulator-based advanced quick-start — rewrote the advanced tutorial to deploy a real event-driven AWS backend (KMS key, encrypted S3 bucket, DynamoDB table, SNS topic, SQS queue, SSM Parameter Store config) entirely on your laptop, with no AWS account and no credentials, via the emulator. New backing example examples/quick-start-advanced (replaces the old VPC-based one).
Docs UI — a right-side [Example] drawer that follows each quickstart page and shows the page's backing example files (QuickStartExampleDrawer, wired through theme/DocItem/Content + theme/Root, reading the file-browser plugin's global data). Plus restyled File, Terminal, KeyPoints ("You will learn"), KeyTakeaways, EmbedExample, and ActionCard components, a CodeBlock line-numbers toggle, and supporting theme/CSS overrides.
osterman/container-component-type (reuses its persistent container lifecycle via ComponentType: "emulator").docs/prd/emulators.md for the full design and per-step implementation sequence.</details>
<details> <summary>Fix bare command docs links @osterman (#2660)</summary>
auth, ai, and toolchain to their canonical /usage pages./cli/commands/auth./usage command overview URLs canonical without changing valid bare command routes such as workflow, devcontainer, and ci.https://atmos.tools/cli/commands/auth returning 404.cd website && npm run build.</details>
<details> <summary>feat(hooks): run custom step types as lifecycle hooks (kind: step) @osterman (#2658)</summary>
kind: step component-lifecycle hook that delegates to the workflow/custom-command step registry, making every registered step type (container, http, toast, log, markdown, …) runnable on terraform lifecycle events — name a step type: and pass its parameters under with:.when: success|failure|always selector (default success) controls outcome-based firing, and {{ .status }}/{{ .exit_code }}/{{ .error }} template context plus ATMOS_HOOK_* env vars (alongside component/stack) let a hook announce exactly what happened.hooks JSON schema into a structured per-hook envelope (kind enum incl. step, events, on_failure, when, type, with, retry) across all three schema copies, kept non-breaking (additionalProperties: true).with: decode, when filtering, outcome template/env exposure, retry, and on_failure.store, command, infracost, checkov, kics, trivy, git); every new capability meant a new kind. Reusing the existing, well-tested step registry lets the whole step library work as hooks without forking the abstraction.after-* hooks fired only on success (cobra skips PostRunE on error) and the outcome reached only CI hooks, never user hooks. Firing user hooks on failure with when + outcome context closes that gap while defaulting to success-only so existing hooks (e.g. store) keep their behavior.docs/prd/hooks-step-types.md/stacks/hooks#kind-step-run-a-step-type and #reacting-to-success-or-failurehttp step type used in the Slack example lands in a separate PR; the bridge works today with every registered step type.</details>
<details> <summary>Skip fork autofix and refresh setup-go pins @osterman (#2659)</summary>
atmos.ci autofix job when a pull request comes from a fork.atmos-pro[bot] loop guard and same-repo PR autofix behavior.actions/setup-go v6 SHA pins to match the current upstream v6 tag.atmos pro commit cannot authenticate or push fixes.verify workflow checks that SHA-pinned actions match their tag comments; the previous setup-go pins pointed at v6.4.0 while labeled as v6.actions/setup-go, and commit hook check yaml.</details>
<details> <summary>feat(workflows): http step type (webhook alias) with retries @osterman (#2641)</summary>
http workflow/custom-command step (type: http) that performs an HTTP request — any verb (GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS), query string parameters, headers, and a request body via body (raw) or form (urlencoded, or JSON when Content-Type is JSON).webhook as a first-class alias for http (type: webhook behaves identically) for the fire-a-notification use case. This adds alias support to the step registry: NewBaseHandler is variadic for aliases, Get() resolves aliases, and List/Count report only the canonical entry (no duplicate step type).timeout and retry that composes with the existing retry: policy; retry is HTTP-aware (transport errors, 5xx, and 429 retry by default, other 4xx fail fast, and retry.conditions regexes force additional cases).expect.status (codes) and expect.response (regexes); the response body and status are captured as the step's value/metadata for downstream steps.WorkflowStep and Task (so it works in both workflows and custom commands) plus the HTTPExpect struct, ErrHTTPStep* sentinels, JSON manifest updates, docs, an examples/http-webhooks example, a changelog blog post, and a roadmap milestone.curl, which isn't portable (Windows), is awkward to template, and gets no first-class timeout/retry handling.http is the accurate name (an inbound callback receiver is what "webhook" conventionally means); webhook is retained as an alias so the evocative name still works.retry.Do path that shell/atmos use, so the handler applies retry itself via retry.WithPredicate — which is what enables status-code-aware retry decisions a generic wrapper can't make.website/blog/2026-06-20-http-step-type.mdx</details>
<details>
<summary>feat(workflows): add say step for audible TTS notifications @osterman (#2640)</summary>
say workflow step type that speaks its content aloud using text-to-speech, and gracefully degrades to printing the message as a Markdown blockquote when no speech engine is available or when running in CI/headless.pkg/say package (mirroring pkg/browser) that detects macOS say, Linux spd-say/espeak/espeak-ng, and Windows PowerShell System.Speech, behind a Speaker interface with a CommandRunner DI seam and functional options.voice list (first installed voice on the host wins), a rate field (slow/normal/fast), and a print policy (fallback/always/never); add the matching Voice/Rate/Print fields to WorkflowStep and sentinel errors ErrSayNotFound/ErrVoiceListUnsupported.examples/say-something/ reference example, workflow step-type docs, an announcement blog post, and a roadmap milestone under the Workflows Overhaul initiative.say gives an audible cue when a workflow finishes or needs input, going beyond the bell-only alert step by announcing what happened.say only works on macOS — this makes audible notifications portable across macOS/Linux/Windows and safe in CI, so the same workflow runs unchanged everywhere and never fails on a missing engine.</details>
<details> <summary>feat(hooks): CI annotations and SARIF upload for scanner findings @osterman (#2631)</summary>
ci.annotations (default on) — inline GitHub ::error/::warning annotations anchored at each finding's file and line on the PR diff. The non-Code-Scanning path: needs no GitHub Advanced Security.ci.results (default off) — upload the raw SARIF to GitHub Code Scanning (Security tab) natively, with no github/codeql-action step. Analysis category is auto-derived from the scan target so per-component uploads don't overwrite each other.Annotator, SARIFReporter) — siblings of the existing check-run/comment/summary capabilities — not as hooks. All three reporting outputs (ci.summary/ci.annotations/ci.results) are gated by ci.enabled.format: sarif to a kind: command hook — any SARIF-emitting tool (tfsec, semgrep, gitleaks, …) gets findings, annotations, and upload with no Go code.ci.* hook kinds) keeps CI reporting where it belongs and lets every SARIF-emitting hook, built-in or custom, participate through one shared path.main; #2617 is not yet merged, so this PR's diff currently includes #2617's commits — they drop out once #2617 merges and this branch is rebased.</details>
<details> <summary>feat(container): persistent container component kind + compositions @osterman (#2645)</summary>
Adds a stack-scoped, Atmos-native container component kind — one component is one persistent service — plus first-class compositions membership.
atmos container <verb> <component> -s <stack>): build, push, pull, run, up, ps, logs, exec, restart, stop, rm, down. Long-running containers are discovered by labels derived from the canonical instance address <stack>/container/<component> (name atmos-<stack>-container-<component>), not local state files. up/run build the image first when vars.build-style build: is set and the image is missing.image, build, run are top-level component sections (reusing the workflow container-step structs ContainerBuildStep/ContainerRunStep), not nested under vars. Container app env comes from the component env: section.atmos container list shows per-instance running state (running/stopped/unknown), discovered by label. The generic atmos list components lists containers as a component type without container-specific status — consistent with terraform/ansible (there is no atmos terraform list/atmos ansible list).composition: membership field + a top-level compositions: section (closed for membership, open for fulfillment). Operating a component with undeclared membership is a hard error; atmos composition validate <name> -s <stack> reports fulfilled vs. not-provided services.metadata.inherits inheritance + generic deep-merge of all top-level keys, so container honors catalog/abstract defaults like built-in kinds. Abstract components are rejected for execution and filtered from listings.container (and fixes the pre-existing ansible gap in list components).Containers should be first-class, addressable component instances like terraform/helmfile/packer/ansible, and atmos list components should show whether each is running. A set of container components grouped by a composition is "our own Compose" with no compose.yaml. Implements docs/prd/container-components.md.
docs/prd/container-components.md, docs/prd/compositions.mdexamples/container-component/, examples/compositions/website/docs/cli/commands/container/, website/docs/components/container.mdx.claude/skills/atmos-core-component-development/[!NOTE] Stacked on
osterman/container-step-prd(the container step), notmain. Changelog/roadmap are not required for this base (the gate is main-only); they'll go on the PR that brings the container feature tomain.
</details>
<details> <summary>docs(ci): document github/artifacts planfile runtime-token requirement + E2E test @osterman (#2649)</summary>
github/artifacts store talks to the GitHub Artifacts runtime API for both upload and download, so a planfile uploaded by a plan job can be consumed by a separate deploy job in the same run.deploy. When planfile storage is configured and atmos terraform deploy runs under CI, Atmos downloads the stored plan, re-plans, compares them with a semantic JSON plan-diff, and applies the verified plan — failing on drift by default. Configurable via components.terraform.planfiles.verify (fail | warn | off) and --verify-plan / --no-verify-plan (CLI > config > CI default).github-runtime action to advertise planfiles, documented the runtime-token requirement, and added the automatic-flow planfile-verify-e2e workflow (kept the manual planfile-artifacts-e2e).deploy (which re-runs plan, so a fresh plan exists to diff against), not apply (which never re-plans).atmos terraform deploywebsite/blog/2026-06-22-native-ci-planfile-verification.mdx</details>
<details> <summary>feat: native container steps for workflows and custom commands @osterman (#2626)</summary>
type: container step (build / push / run) to the shared step library used by both workflows and custom commands, built on the existing pkg/container Docker/Podman runtime (new ephemeral one-shot runner plus image build/tag/push/inspect helpers; ImageInspect added to the Runtime interface, mocks regenerated).value/values/metadata/outputs/skipped/error (command-like steps add stdout/stderr/exit_code), so a build step can publish an image reference consumed by later push/run steps via {{ .steps.<name>.outputs.<key> }}.identity for registry auth and Docker Buildx + Buildx Bake builds; Podman uses the native podman build path.examples/container-step example and a hermetic GitHub Actions job ([container-step]) that exercises build → push → run against a registry:2 service on localhost:5000, including failure-propagation.website/docs/workflows), add a changelog blog post, and update the roadmap (container steps + step outputs marked shipped).container-components.md, compose-components.md, and a rewritten membership-based compositions.md — and trim container-actions-and-step-outputs.md to cover only the procedural step. Remove the earlier targets:-based composition scaffolding (pkg/composition, cmd/composition, the composition step, and schema.Composition*) in favor of those PRDs.docs/prd/container-actions-and-step-outputs.md, docs/prd/container-components.md, docs/prd/compose-components.md, docs/prd/compositions.mdwebsite/blog/2026-06-17-native-container-steps.mdxwebsite/src/data/roadmap.js</details>
<details> <summary>docs: add Custom to the Component Library @osterman (#2638)</summary>
website/docs/components/custom.mdx explaining custom component types (with a minimal Script Runner example and a native-vs-custom comparison), linking to the existing reference and changelog rather than duplicating them.website/sidebars.js) after Ansible.components-overview.mdx) — a pointer under the Component Types table and a Next Steps bullet.cli/configuration/commands#custom-component-types, but a user browsing the Component Library never saw them as a first-class option — the nav didn't match the actual capability.no-release): no behavior changes, and the feature already has its own changelog post./cli/configuration/commands#custom-component-types/changelog/custom-component-types</details>
<details> <summary>feat: support description in component metadata @osterman (#2634)</summary>
description field to component metadata.metadata.description.pkg/datafetcher/schema_metadata_validation_test.go) verifying both the embedded and website schemas accept metadata.description.metadata is already a free-form map at runtime, so no Go changes were required).</details>
<details> <summary>feat: terminal steps - tty/interactive fields and exec step type @osterman (#2602)</summary>
Terminal steps for custom commands and workflows — three related capabilities:
interactive: true — attach host stdin and let the step own Ctrl-C. Atmos suspends its SIGINT-exit handler while the step runs (new pkg/signals suspension registry consulted by the main.go signal handler).tty: true — allocate a pseudo-terminal (reusing pkg/terminal/pty, same engine as atmos devcontainer attach). The command sees a real TTY; secret masking is applied to PTY output. With interactive: true, the host terminal switches to raw mode so Ctrl-C flows through the PTY to the child.type: exec — replace the Atmos process entirely (shell exec semantics): execve of the system shell on Unix (env, working directory, and terminal inherited natively; ATMOS_SHLVL unchanged), spawn-and-propagate-exit-code emulation on Windows. Validated to be the final step; tty/interactive/retry/timeout/output are rejected on exec steps.Architecture: all logic lives in narrow packages — pkg/process (RunShellStep routing, RunShellSession, ReplaceShellSession), pkg/schema (validation), pkg/signals (interrupt suspension). cmd/ and internal/exec contain only inline switch-case call sites; pkg/runner and the step handler share the same routing.
Also fixes in pkg/terminal/pty found along the way:
session-manager-plugin) keep the PTY slave open after the child exits, output drains on a 1s deadline instead of hanging with the terminal in raw modeDisableStdinForward for -t-without--i semanticsCustom commands had no way to hand the terminal to an interactive process:
commands:
- name: ssh
steps:
- type: shell
command: "exec aws ssm start-session --target {{ .Arguments.instance_id }}"
ran the SSM session as a piped, masked subprocess: full-screen rendering broke, and Ctrl-C inside the session killed Atmos itself (global SIGINT handler exits 130), killing the orphaned session with SIGPIPE.
With this change:
commands:
- name: ssh
steps:
- type: shell
tty: true
interactive: true
command: "aws ssm start-session --target {{ .Arguments.instance_id }}"
behaves like docker run -it (supervised: masking preserved, more steps can follow), and:
- type: exec
command: "aws ssm start-session --target {{ .Arguments.instance_id }}"
hands the process over entirely (launcher: native job control, zero proxy overhead, must be the last step).
</details>
<details> <summary>feat(secrets): declarative secrets management with !secret, CRUD CLI, and masking @osterman (#1911)</summary>
Implements the Secrets Management PRD end to end — a GitOps-friendly, multi-cloud secrets workflow built on top of the existing store registry (not a parallel backend). Secrets are declared in stack config (committed to git) and their values live in a cloud secret backend or a SOPS-encrypted file, managed with a Vercel-like CLI and resolved at runtime with a new !secret YAML function.
pkg/store)StoreConfig gains secret: true (subsystem membership) and kind (cloud/thing) with legacy type mapping; !store against a secret: true store is now an error ("use !secret").DeletableStore / StatusStore / SecretAwareStore interfaces; AWS SSM writes SecureString when used as a secret backend and gains Delete/Has.kind↔type compatibility.pkg/secrets)service, declaration registry, resolver, validator, kinds, and a leaf pkg/secrets/providers/ subpackage with a store-adapter (track 1) and a native SOPS provider (track 2: age/aws-kms/gcp-kms/gpg).atmos.yaml, globally in a stack (secrets: top-level merges into every component), or under a single component.!secret + masking (the headline)!secret NAME [| path ...] [| default ...] wired into the live YAML pipeline, with automatic masker registration.describe, list) resolve !secret to <MASKED> without contacting the backend when masking is on (the default) — so you can inspect a stack with no cloud credentials. Value-producing commands (secret get, terraform plan/apply) always retrieve; --mask/ATMOS_MASK only controls redaction of display output.sensitive = true) auto-register with the masker as they flow through !terraform.output / atmos.Component() / describe.cmd/secret)init, set (alias add), get, delete (alias rm), list, pull, push, import, validate.
secrets is now a first-class inheritable component section, plus a global stack-level secrets: block that merges into every component.
atmos secret overview + all 9 subcommands, secrets configuration page, !secret function page; blog post (with an embedded example) and a roadmap milestone.examples/sops-secrets/ — fully self-contained, age-encrypted, no cloud credentials. Bundled atmos test custom command (.atmos.d/test.yaml) proves the full lifecycle end to end (set → encrypted-at-rest → get → list → validate → masked-without-credentials inspection → reveal-needs-key).There was no unified way to manage human-provisioned secrets in Atmos — stores were designed for machine-written Terraform outputs, and the historical workaround (Chamber) was AWS-only. This adds explicit, declarative secret registration so a secret must be declared before it can be set, read, or resolved, and makes "inspect a stack" decoupled from "authenticate to the secret backend."
docs/prd/secrets-management.md and docs/prd/secrets-masking/examples/sops-secrets/ (run atmos test)--mask=false flag did not disable the early-initialized I/O masker (only ATMOS_MASK=false did). io.ReconcileMasking() now reconciles the masker after flags are parsed, so --mask=false and ATMOS_MASK=false behave identically.pkg/store backend implementations could be moved into a pkg/store/providers/ subpackage (mirroring pkg/secrets/providers/) — deferred to a dedicated follow-up PR since it touches ~30 external call-sites.metadata.component) inheritance of the secrets section is not wired yet (component-level + import: + global-stack inheritance all work).</details>
<details> <summary>feat(terraform): registry cache, RC management, and multi-platform mirror @osterman (#2582)</summary>
pkg/http/proxy, pkg/terraform/{cache,registry}) that caches providers and modules in the canonical filesystem_mirror layout, enabled with components.terraform.cache.enabled: true.atmos terraform cache command group — list, stats, prune, delete, plus mirror (alias warm) for eager multi-platform pre-seeding and trust/untrust for the proxy certificate..terraformrc) management via components.terraform.rc, exposed to the subprocess through TF_CLI_CONFIG_FILE/TOFU_CLI_CONFIG_FILE.components.terraform.platforms setting (target <os>_<arch> list) that drives both eager atmos terraform cache mirror pre-seeding (--all/--components/--query/-s, package-manager-style TUI, --format json|yaml) and automatic completion of .terraform.lock.hcl..terraform.lock.hcl complete across platforms: a built-in after.terraform.init provisioner runs terraform/tofu providers lock -platform=… for the declared platforms whenever a customized provider installation method (the default plugin cache, or the registry cache) is active. Because it runs after init, it sees the fully JIT-vendored and code-generated working directory, so the generated provider set (including stack-config provider versions) is what gets locked — and committed lock files install cleanly on every platform in a fleet.SSL_CERT_FILE on Linux/CI and via a one-time atmos terraform cache trust on macOS/Windows.examples/caching (auto-installs OpenTofu via the toolchain), PRDs, command + configuration docs, blog posts, and a roadmap update.TF_PLUGIN_CACHE_DIR) by default, and network mirrors behave the same way: Terraform can no longer record the registry's signed cross-platform checksums, so init writes a .terraform.lock.hcl with hashes for only the current platform and prints the "Incomplete lock file information for providers" warning. Declaring components.terraform.platforms lets Atmos complete the lock automatically for every target platform.components.terraform.platforms + cache mirror provide it.rc lets teams manage provider mirrors, credentials, and other CLI-config directives from atmos.yaml instead of per-machine .terraformrc files.docs/prd/terraform-registry-cache.md, docs/prd/terraform-rc-management.md, docs/prd/terraform-registry-cache-tls.md</details>
<details> <summary>feat: Atmos Git — foundational capability for GitOps enablement @osterman (#2597)</summary>
Atmos Git: Git becomes a foundational platform capability, on par with Toolchain, Auth, and Hooks — the enablement layer for GitOps workflows where Atmos commits generated artifacts to a source-of-truth repository. PRD: docs/prd/git-ops.md.
git config — git.repositories.<name> declares managed repositories (uri, branch, remote, clone depth/filter/single-branch/submodules, auth.identity, commit.signing/commit.author, push.retries), git.hooks declares local Git hooks, git.list configures list output. Workdirs default to automatic XDG cache locations ($XDG_CACHE_HOME/atmos/git/repositories/<name>) so the native CI cache captures and restores managed clones.pkg/git service — provider registry (registry pattern) with the cli provider in v1 (chosen because GitHub STS materializes credentials as GIT_CONFIG_* env vars, which subprocess git honors and go-git ignores). Clone is defined as reconcile (clone-if-absent, else fetch + checkout + ff-only) so stale CI-cache restores are just faster clones. Safety rules: ff-only pull, no force push ever, push retry-with-rebase on non-fast-forward rejection, path-scoped commits that fail on unrelated dirty files, worktree path-traversal validation, per-invocation commit author injection (CI runners need no user.name), provenance trailers (Atmos-Stack, Atmos-Component, Atmos-Source-SHA).atmos git command group — clone, pull, status, diff, commit, push, list, clean, plus git hooks install|uninstall|run, registered under the Git help group. --all bulk operations (bounded concurrency, attempt-all with errors.Join). Clone accepts configured names, plain URLs, and go-getter git::...?ref=&depth= URIs. No-arg clone in native CI (ci.enabled: true) infers the current repository from CI metadata and clones into the workspace — an actions/checkout replacement. atmos list git-repositories alias registered.git hook kind — publishes generated artifacts on lifecycle events (after.terraform.apply, ...) to the current repository by default or a named managed repository, with templated commit messages, trailers, clean no-ops, and push-after-commit with retry. Inherits --skip-hooks and on_failure.atmos git hooks install writes worktree-aware .git/hooks/* shims (marker-protected, --force to overwrite, warns when core.hooksPath is set); run dispatches configured commands with stdin forwarding and exit-code propagation.ErrGitRepositoryNotFound, ErrGitAuthFailed, ErrGitPushRejected, ErrGitDirtyUnmanagedFiles, ErrGitPathEscapesWorktree, ErrGitHookNotConfigured, ErrGitRepositoryRequired, ErrGitProviderNotFound) with error-builder hints and exit-code mapping. Git stderr streams to the masked writer and is never embedded in error chains.website/docs/cli/commands/git/, git configuration reference, hook kind docs, changelog blog post (atmos-gitops), roadmap milestone (CI/CD Simplification initiative), and a GitOps publishing demo at examples/gitops (reconcile → review → publish against a managed deployment repo via custom commands).Atmos owns the publishing side of GitOps: render → diff → commit → push, with centralized safety rules. Reconciliation stays with the consumer — Argo CD or Flux pulls from the repository, or CI applies on merge. There are no agents and no drift-correction loop in Atmos itself (explicit non-goal in the PRD); Atmos is the producer feeding the reconciler. This also isn't a replacement for the existing GitHub Actions plan/apply integration — it's the Git plumbing those pipelines use.
GitOps workflows have always needed glue: ad hoc scripts to render manifests into deployment repos, commit them, survive push races, and wire credentials. Atmos already owns rendering, lifecycle events, toolchain, and credentials (GitHub STS) — this PR gives it the Git operations between them, with centralized safety rules instead of per-pipeline shell scripts. It is the foundation for Kubernetes deployment-repository provisioning (Argo CD / Flux rendered-manifest publishing, on the kubernetes component branch) and a future github provider for pull-request-based publishing to protected branches.
docs/prd/git-ops.md (in this PR)pkg/git 86%, pkg/git/providers/cli 88%, pkg/hooks/kinds/git 94%, cmd/git 81%provision.git next)</details>
<details> <summary>feat: support dotenv files in !include @osterman (#1930)</summary>
Adds explicit dotenv file support to the existing !include YAML function. Dotenv files now resolve to maps, so they can be used directly in CLI and stack env sections and with YAML merge keys.
env:
<<: !include .env
AWS_REGION: us-east-2
Dotenv files can also be layered with YAML merge sequences. This uses YAML's << merge-key syntax, the same YAML mechanism commonly used with anchors and aliases:
env:
<<:
- !include .env.local
- !include .env
AWS_REGION: us-east-2
YAML merge sequence precedence is earlier item wins, and inline keys under env override all merged values.
.env, .env.*, and exact *.env filenames as dotenv files when used with !includeenv: !include .env and env: { <<: !include .env } / block merge forms in stack config!include in atmos.yaml env, including merge sequences for layered dotenv files!include.raw behavior for raw file contents.envrc and foo.env.local unsupported/raw; Atmos does not auto-load or execute dotenv filesenv: !include .env satisfies stack manifest schema rulesenv to document the !include string formenv and stack env docs, including YAML merge-key behavior, include path resolution, and layered files!include supportcd examples/demo-localstack && ATMOS_IDENTITY=false go run ../.. describe component demo -s dev --format json --logs-level Off | jq '.providers.aws'cd examples/demo-localstack && ATMOS_IDENTITY=false go run ../.. validate stacks --logs-level Offgo test ./pkg/config ./pkg/validator ./pkg/filetypego test ./internal/exec -run 'TestGenerateProviderOverrides|TestGenerateProviderOverridesForAliases|TestProcessStackConfigProviderSection'go test ./pkg/config ./pkg/validator -coverprofile=.context/dotenv-include-coverage.outgo test ./pkg/utils -run 'TestInclude(Dotenv|ExtensionBased|RawFunction|WithNoExtension)'node -e "import('./website/src/data/roadmap.js').then(() => console.log('roadmap import ok'))"git diff --checkenv: !include .env validates against tests/fixtures/schemas/atmos/atmos-manifest/1.0/atmos-manifest.json</details>
<details> <summary>feat(ci): GitHub Actions build cache (atmos ci cache) @osterman (#2579)</summary>
~/.cache/atmos — toolchain binaries, vendored components, remote import clones, provider/plugin caches) at startup and saves it at exit, using the same store actions/cache uses (GitHub Actions Cache Service v2).atmos ci cache subcommands: restore, save, list, delete — so the lifecycle can run in one invocation or be spread across CI steps.ci.cache configuration block (enabled, auto: off|restore|save|both, root, paths, key, restore_keys, compression) with ATMOS_CI_CACHE_* env overrides.provider.CacheProvider + ci.DetectCache()) with a backend registry (pkg/ci/cache) and a GitHub Actions implementation (pkg/ci/cache/github), mirroring the existing artifact subsystem; outside a runner it's a clean no-op.~/.cache/atmos/toolchain) so a single cache captures it; add a PRD, command/config docs, blog post, and roadmap entry.actions/cache step and own the key/path logic themselves; Atmos already knows its cache root and can derive a stable key from toolchain.lock.yaml + OS/arch, so it's two settings to enable.docs/prd/native-ci/framework/ci-cache.md/cli/commands/ci/cache and /cli/configuration/ci/cacheactions/cache uses)</details>
<details> <summary>Warn on explicit version constraint overrides @osterman (#2670)</summary>
log.Warn messages when an explicit version override is present.--use-version, ATMOS_VERSION_USE, ATMOS_USE_VERSION, and ATMOS_VERSION, while keeping config-only version.use enforcement unchanged.test.--use-version ref:* can re-exec into unreleased binaries that report version.Version == "test", which previously failed constraint validation before the requested command could run.</details>
<details>
<summary>fix(validate): dogfood atmos validate stacks for example YAML; fix nil-map crash @osterman (#2666)</summary>
InoUno/yaml-ls-check GitHub Action in the [validate] CI matrix with Atmos itself, running atmos validate stacks --schemas-atmos-manifest <in-repo schema> against each example.custom-components, sops-secrets, onepassword-secrets), which now pass because Atmos understands its own YAML tags natively.atmos validate stacks --schemas-atmos-manifest: it panicked with assignment to entry in nil map when the target atmos.yaml had no schemas: section. Added a lazy-initializing SetSchemaRegistry setter and a regression test.[validate] job; it also can't parse Atmos YAML tags, which forced many examples to be excluded from validation.atmos validate stacks is a strict superset of the old static check (YAML syntax + manifest JSON Schema + import resolution + duplicate-component detection) and parses Atmos tags natively — better coverage with no external dependency. Pointing --schemas-atmos-manifest at the in-repo schema lets a PR add a schema field and use it in an example in the same change.quick-start-advanced and native-terraform are intentionally left out of the matrix (documented inline): the former's stacks/workflows/*.yaml uses newer workflow step types the manifest schema doesn't describe yet, and the latter intentionally configures no stacks.name_pattern.</details>
<details> <summary>fix(hooks): store-output hooks inherit the run's default identity @aknysh (#2662)</summary>
store-outputs hook path inherit the run's auto-detected identity for
stores that don't declare their own identity, matching the main terraform path.internal/exec.HookStoreDefaultIdentity helper (auto-detect the active identity from the
auth manager's chain, normalize empty/select/disabled to ""); cmd/terraform's
injectHookStoreAuthResolver now calls SetAuthContextResolverWithDefaultIdentity instead of the
resolver-only variant.pkg/store.defaultIdentityForStore was missing *SecretsManagerStore
(aws/asm), so AWS Secrets Manager stores never inherited a default identity on any path. Added
the case so aws/asm behaves like aws/ssm.internal/exec.TestHookStoreDefaultIdentity (new), cmd/terraform
TestInjectHookStoreAuthResolver_InheritsDefaultIdentity (replaces …_ResolverOnly), updated
pkg/store default-identity test so identity-less aws/asm asserts inheritance, and Floci E2E
TestAWSStoreHooks_InheritedIdentity_FlociE2E with fixture aws-store-hooks-floci-inherit.docs/fixes/2026-06-27-store-hook-inherit-default-identity.md.Hook fix. Under Atmos auth, atmos terraform apply on a component with a store-outputs hook
applied successfully but then failed in the hook when the target store had no identity:
INFO Running hooks event=after.terraform.apply status=success
✓ Fetching <output> from <component> in <stack>
Error: failed to assume write role: … get identity: get credentials:
failed to refresh cached credentials, no EC2 IMDS role found, … ec2imds: GetMetadata …
Hooks run in a freshly-loaded config, so the apply-phase store registry (and its injected default
identity) is gone. The hook re-injected the resolver but no default identity, so identity-less
stores fell back to the default AWS SDK credential chain — empty under Atmos auth (credentials live
in the keyring, not the environment) — and dropped to EC2 IMDS. The main terraform path and !store
reads already inherit the run's identity; this removes a surprising asymmetry and completes the
follow-up explicitly deferred in #2625 ("Component-identity inheritance for identity-less stores is
intentionally left for a follow-up design decision").
ASM fix. defaultIdentityForStore handled *SSMStore, *AzureKeyVaultStore, and *GSMStore
but not *SecretsManagerStore, so aws/asm stores without an explicit identity could never
inherit one. This was latent before (and was even codified by the old test); the hook fix's E2E
surfaced it.
Backward compatible. HookStoreDefaultIdentity returns "" whenever no identity is resolved
(no auth manager, or empty/select/disabled), and SetAuthContextResolverWithDefaultIdentity("")
is a no-op for the default — so runs without Atmos auth keep their prior ambient/default-SDK
credential behavior, and stores with an explicit identity are never overridden.
docs/fixes/2026-06-17-aws-stores-secrets-auth-and-gists.md,
docs/fixes/2026-05-25-store-hook-missing-backend-role-assumption.md.</details>
<details> <summary>fix(secret): skip remote-state reads in credential-free secret list @sgtoj (#2657)</summary>
atmos secret list skip the YAML functions that perform authenticated backend reads (!terraform.state, !terraform.output, !store, !store.get) while it enumerates secret declarations.credentialFreeSkip() helper and use it in the two credential-free paths: secret list -s <stack> enumeration and the single-scope secret list -s <stack> -c <component> path without --verify.get / set / exec / shell, and secret list --verify) are unchanged — they keep skipping only !secret.TestCredentialFreeSkip pinning the skip set and a docs/fixes write-up.!terraform.state / !terraform.output / !store in component vars / settings. With auth disabled, the S3 backend assumes its configured role with no base credentials, the AWS SDK falls back to the default credential chain, and ultimately dials the EC2 IMDS endpoint — unreachable on a workstation — so the command aborts with a confusing assume-role/credentials error even immediately after a successful atmos auth login.secrets.vars declarations (secrets.ExtractDeclarations), which never require a resolved value. Evaluating these functions was unnecessary and failure-prone. A skipped function leaves its raw string in place, which the declaration extractor ignores, so discovery is unchanged.secret list authenticated per component, so these reads had credentials (slow, but working). Disabling auth removed the credentials without removing the reads.atmos secret list).docs/fixes/2026-06-23-secret-list-credential-free-skip.mdgo test ./cmd/secret/... and the repo's custom-gcl lint (both green), and end-to-end against a multi-account repo whose components reference cross-account !terraform.state: secret list -s <stack> aborted before, completes after (no state reads, no credential-resolution fallbacks).</details>
<details> <summary>fix(auth): retry transient auth on freshly-brokered STS git clones @osterman (#2653)</summary>
broker.HasBrokeredCredentials() signal and a CustomGitGetter.RetryAuthErrors flag (existing per-source retry: config still takes precedence).Warn (was Debug, invisible at the default Warning log level) and log an actionable Error when the brokered-auth retry window is exhausted.-race concurrency guard proving EnsureCredentials provisions exactly once with a happens-before barrier.atmos vendor pull intermittently failed with fatal: Authentication failed even though the same run logged a successful token mint and OIDC auth — a subset of clones failed and a rerun was clean.APP-CLOUDPOSSE-COM-AM2), but the CLI git path did not — isRetryableGitError treated auth as terminal and vendor sources have no retry by default, so the earliest clones failed hard.mint.ts / token-provider), ruling out mid-run expiry; the post-mint propagation window is the cause.revoke_on_exit cross-process token race on the shared, unlocked github/sts state.json.</details>
<details> <summary>perf(stacks): dedupe per-identity auth in nested terraform.state resolution @sgtoj (#2656)</summary>
AuthManager memoization introduced in #2652 from the top-level describe stacks pass into the nested resolution path that runs while templates and YAML functions are evaluated (!terraform.state, !terraform.output, atmos.Component(...)).nestedAuthManagerCache, consulted by resolveAuthManagerForNestedComponent, keyed by the parent auth chain + a deterministic JSON fingerprint of the component's auth section.buildComponentAuthCacheKey used by both the processor cache (#2652) and this nested path, so the two keying strategies cannot drift.ResetStateCache() also clears the new cache (kept consistent with the terraformStateCache it pairs with). Neither is reset in production.!terraform.state still ran a full auth cycle (credential writes, file locks, keyring rebuilds) once per distinct target — even when every target resolves to the same identity. terraformStateCache only short-circuits a repeat read of the same target, not distinct targets that share an identity.Measured — atmos describe stacks -s <stack> on a large real-world stack (credentials provided via auth exec, 45s cap; only the binary under test varies):
| build | wall time | per-component auth cycles |
|---|---|---|
| latest release | DNF (>45s) | — |
main (includes #2652) |
~17–19s | 44 |
| this PR (#2652 + nested dedup) | ~10–11s | 5 |
Output was verified equivalent to main: the remaining run-to-run differences are pre-existing auto_provision_workdir_for_outputs / tofu output provisioning nondeterminism present on both builds (same identity resolved throughout, no new errors). A matched-output pair differed by fewer lines than the main-vs-main noise floor.
The nested path is shared by describe affected, list, and terraform --all/--query. On a large multi-component change, the full per-identity auth cycles during describe affected likewise drop from scaling with the number of resolved components to roughly one-per-identity, with the rest served from the cache.
go build ./... && go test ./internal/exec/... — new unit tests cover key behavior, dedupe-by-identity, parent-chain isolation, errors-not-cached, unserializable-section-not-cached, and the ResetStateCache coupling.custom-gcl run --new-from-rev=main → 0 issues.docs/fixes/2026-06-22-dedupe-nested-component-auth.md</details>
<details> <summary>fix(describe): respect metadata.enabled when evaluating component functions @sgtoj (#2655)</summary>
metadata.enabled when the shared describe pipeline (describe affected, describe stacks, list) evaluates a component's functions:
!terraform.state / !terraform.output are skipped for components disabled via metadata.enabled: false — the raw function string is left unresolved (no backend read).atmos.Component(...) returns empty sections (including an empty outputs) when the enclosing component is disabled — no describe, no state read, and template-safe (.outputs.x / .vars.x evaluate to nil instead of erroring).metadata.enabled (via the existing isComponentEnabled), independent of vars.enabled.describe affected describes the current and base stacks and evaluates every component's templates/YAML functions with no metadata.enabled gate. A component disabled with metadata.enabled: false that references an unprovisioned component's state therefore failed hard with terraform state not provisioned — even though disabled components are (correctly) excluded from the final affected list. The enabled-aware filters (shouldSkipComponent, FilterAbstractComponents) only run when assembling that list, after the describe phase has already failed.Fixes #2654.
docs/fixes/2026-06-22-describe-respect-metadata-enabled.mddisabledComponentTerraformSkip (adds the terraform funcs, clones the base skip), enclosingComponentDisabled (nil/absent metadata ⇒ enabled; vars.enabled:false alone ⇒ enabled; metadata.enabled:false ⇒ disabled), componentFunc returns empty sections for a disabled enclosing component, and an end-to-end processComponentEntry test (disabled ⇒ !terraform.state not resolved; enabled / vars.enabled:false-only ⇒ resolved).go build ./..., go vet ./internal/exec/..., and custom-gcl run --new-from-rev=main (0 issues).Note: the
TestDescribeAffected*integration tests are environment-sensitive and fail identically on a cleanmaincheckout locally (macOS); they are unrelated to this change. CI (Linux) is authoritative.
</details>
<details> <summary>fix(stacks): scope and cache per-component auth in describe stacks @sgtoj (#2652)</summary>
resolveComponentAuthManager in processComponentEntry so only in-scope components authenticate (auth still precedes BuildTerraformWorkspace, template, and YAML-function processing).Any auth-enabled ExecuteDescribeStacks caller — atmos describe stacks, atmos list values/instances, atmos terraform --all/--query — resolves per-component auth before the stack/component filters and never reuses it. On a multi-stack repo where components declare their own default: true identity, atmos describe stacks -s <stack> authenticates components in other stacks before discarding them, and re-authenticates each same-identity component from scratch — so the command effectively hangs.
Per-component auth exists only to populate info.AuthContext for that component's later template (atmos.Component(...)) and YAML-function (!terraform.state, !terraform.output) processing, which is skipped for filtered-out components — so authenticating them is wasted work.
#2646 fixed atmos secret list by disabling per-component auth for that command; it did not touch the shared processor, so every other caller still hits this.
Measured with the identical command atmos describe stacks -s <stack> --logs-level Debug under a 45s budget, only the atmos binary varying:
| binary | result |
|---|---|
| latest release (v1.221.1) | did not complete within 45s (authenticating mostly out-of-scope stacks) |
current main (aa68d85be) |
did not complete within 45s |
| this PR | completed in ~18s |
With the fix, in-scope processor-path authentications drop to 2 and out-of-scope ones to zero (the ~42 remaining auths are legitimate nested !terraform.output / atmos.Component reads).
docs/fixes/2026-06-22-describe-stacks-scope-and-cache-per-component-auth.md</details>
<details> <summary>fix(secrets): fast, credential-free atmos secret list @osterman (#2646)</summary>
atmos secret list require no authenticated identity and never decrypt — it only reports whether each secret is set. On a 72-component stack, listing drops from ~21–34s (it previously authenticated every component and decrypted every secret) to effectively instant.Has) to a non-decrypting metadata API: SSM GetParameter with WithDecryption=false, Secrets Manager DescribeSecret, GCP GetSecretVersion, Azure Key Vault properties pager, Vault KV metadata read, and a no-reveal 1Password check.STATUS (initialized / missing / unknown) plus a new --verify flag: remote-store status shows unknown by default; --verify contacts backends with a read/describe identity (never a decrypt identity) on a fully-scoped target.kms:Decrypt-style permissions).secret list slow (and prone to hanging) on real-world stacks and unusable without cloud credentials.unknown (credential-free) and opt into a real check via --verify, while local backends (SOPS) always show accurate status for free.atmos secret list workload is fully addressed here); follows #2642.website/docs/cli/commands/secret/list.mdx; changelog: fast-credential-free-secret-list.</details>
<details> <summary>fix(secrets): SOPS cloud-KMS secrets authenticate via Atmos identity @osterman (#2643)</summary>
atmos secret and !secret (during terraform plan) against a SOPS cloud-KMS backend now authenticate using the Atmos identity — --identity / ATMOS_IDENTITY, the per-provider secrets.providers.<name>.identity, or the stack/component effective identity — instead of requiring ambient cloud credentials.kind. Credentials are injected into the in-process getsops encrypt/decrypt via ApplyToMasterKey (no process-environment mutation).pkg/secrets/providers/sops/ with a registry of per-cloud key handlers (aws.go / gcp.go / azure.go); the cloud-SDK credential building lives in the depguard-exempt pkg/store/sopsauth/ bridge so the SOPS package imports no cloud SDK directly.AtmosConfiguration.SecretsAuth seam, populated in both the atmos secret and terraform code paths.secrets.providers.<name>.identity field and --identity were silently ignored for the SOPS cloud-KMS track, forcing every command to be wrapped in atmos auth exec even though Track-1 stores (SSM/ASM/Key Vault/Secret Manager) already authenticated via the identity.kind remains only for the legitimate age-vs-KMS keygen distinction.secret set/get — the exact #2637 scenario, RED before this change) plus unit tests for key-service selection, per-cloud registry dispatch, identity precedence, and kind-aware error hints.docs/fixes/2026-06-20-sops-cloud-kms-identity.md (root cause, fix, and full backend audit)</details>
<details> <summary>Add Atmos media kit and CI branding @osterman (#2636)</summary>
Note truncated.
feat: local Terraform tests against cloud emulators @osterman
<details> <summary>feat: local Terraform tests against cloud emulators @osterman (#2663)</summary>
atmos terraform test (Terraform's native *.tftest.hcl framework) against a local cloud emulator instead of a real cloud account, via a new examples/terraform-tests example.before.terraform.test / after.terraform.test lifecycle events and wire cmd/terraform/test.go to capture output and fire them — which drives both component hooks: and the native-CI plugin from one place.emulator workflow step type that drives emulator up/down/reset, so declarative kind: step hooks can bring a sandbox up before tests and tear it down after (when: always), with no manual atmos emulator up/down.terraform test: pass/fail/skip badges and a per-run results table, alongside the existing plan/apply summaries.parsePodmanContainer dropped the container Ports array, so the emulator endpoint resolved empty and Terraform silently hit real AWS (403 InvalidAccessKeyId). Podman's structured Ports are now parsed into Info.Ports.docs/fixes/ write-up for the Podman fix.terraform test's apply run blocks create real infrastructure, so they need a cloud account and spend and rarely run locally — pointing them at an emulator makes them free, hermetic, and identical local↔CI.kind: step machinery.emulator-aws example), and is documented in docs/fixes/ rather than the changelog because it restores already-intended behavior.docs/fixes/2026-06-27-podman-port-readback-emulator-endpoint.md.website/blog/2026-06-27-local-terraform-tests-with-emulators.mdx.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
terraform test, including CI summaries, test result parsing, JUnit output, and inline annotations.Bug Fixes
Documentation
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>[codex] Fix mobile gutters and name runtime CSS @osterman (#2673)</summary>
landing-redesign.css to landing-runtime.css.src/css/landing-runtime.css and AISection/styles.css.postcss.parse passed for the updated CSS files.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<details> <summary>feat: native Kubernetes components with GitOps deployment-repo delivery @osterman (#2607)</summary>
kubernetes component type. Define Kubernetes objects in stacks and run atmos kubernetes render|diff|plan|apply|deploy|delete <component> -s <stack> through the Kubernetes Go SDKs (server-side apply) — no kubectl or kustomize binary required.manifests, files/directories (paths), and Kustomize overlays; full stack semantics (vars/env/auth/metadata/inheritance/overrides), --all/--affected DAG ordering, Atmos Auth (e.g. EKS) integration, and dotted lifecycle hooks (before/after.kubernetes.*).provision.targets. apply/deploy deliver to a target selected by kind: kubernetes applies to the cluster (default), git renders the manifests and commits them to a managed Git deployment repository (Argo CD/Flux source-of-truth) instead. Selected with --target (precedence: --target → provision.default → implicit cluster), so existing components are unaffected.pkg/provisioner/target, registry pattern) + a ProvisionArtifact model. The git target composes the pkg/git service: clone-reconcile a git.repositories.<name>, replace the managed templated path with the rendered files, path-scoped commit with provenance trailers, and push-with-retry. Credentials come from Atmos Auth (GitHub STS); pull_request publishing is deferred.kubernetes component and provision.targets in Go schema and both JSON schemas; LSP; command/config/stack docs; examples/kubernetes and examples/kustomize; a changelog blog post and a roadmap milestone.kubectl/kustomize from glue scripts.provision.targets adds the delivery step with centralized safety rules — the same component config can apply to a cluster in dev and publish to a GitOps repo in prod with one flag.main, which provides the reusable pkg/git service and git.repositories configuration consumed by the git target.atmos kubernetes.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
atmos kubernetes commands: render, diff/plan, apply/deploy, delete, and validate (plus k8s alias).Nothing published for this version
Add emulator workflows, skill catalog, and website refresh @osterman
<details> <summary>Add emulator workflows, skill catalog, and website refresh @osterman (#2665)</summary>
</details>
<details> <summary>Warn on explicit version constraint overrides @osterman (#2670)</summary>
log.Warn messages when an explicit version override is present.--use-version, ATMOS_VERSION_USE, ATMOS_USE_VERSION, and ATMOS_VERSION, while keeping config-only version.use enforcement unchanged.test.--use-version ref:* can re-exec into unreleased binaries that report version.Version == "test", which previously failed constraint validation before the requested command could run.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
--use-version parsing to use the shared version override logic, aligning override behavior across env/CLI forms.Tests
--use-version and explicit-override precedence tests, including edge cases like -- termination.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>Nothing published for this version
Replace the deprecated third-party InoUno/yaml-ls-check GitHub Action in the [validate] CI matrix with Atmos itself, running atmos validate stacks --s…
<details> <summary>Add parallel and matrix workflow control steps @osterman (#2635)</summary>
parallel and matrix workflow control steps with sibling needs DAG scheduling.pkg/workflow.pkg/runner/step/parallel and pkg/runner/step/matrix handlers, JSON schema updates, and examples/parallel-steps.internal/exec.pkg/workflow coverage above 80%.pkg/workflow coverage: 82.9%go test ./pkg/schema ./pkg/runner/step ./pkg/scheduler ./pkg/workflow ./internal/execgo test ./cmd ./tests -run 'Workflow|workflow|Schema|schema'./custom-gcl run --new-from-rev=origin/main --config=.golangci.yml<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
parallel and matrix, supporting needs, max_concurrency, matrix expansion, and failure modes (wait_all, fail_fast, best_effort).grouped/prefixed) with optional per-step completion summaries and configurable prefixes.background: true, coordinated with wait, wait-all, and cancel, including readiness gating from container healthchecks.Documentation
output.Bug Fixes
Tests
<details>
<summary>fix(validate): dogfood atmos validate stacks for example YAML; fix nil-map crash @osterman (#2666)</summary>
InoUno/yaml-ls-check GitHub Action in the [validate] CI matrix with Atmos itself, running atmos validate stacks --schemas-atmos-manifest <in-repo schema> against each example.custom-components, sops-secrets, onepassword-secrets), which now pass because Atmos understands its own YAML tags natively.atmos validate stacks --schemas-atmos-manifest: it panicked with assignment to entry in nil map when the target atmos.yaml had no schemas: section. Added a lazy-initializing SetSchemaRegistry setter and a regression test.[validate] job; it also can't parse Atmos YAML tags, which forced many examples to be excluded from validation.atmos validate stacks is a strict superset of the old static check (YAML syntax + manifest JSON Schema + import resolution + duplicate-component detection) and parses Atmos tags natively — better coverage with no external dependency. Pointing --schemas-atmos-manifest at the in-repo schema lets a PR add a schema field and use it in an example in the same change.quick-start-advanced and native-terraform are intentionally left out of the matrix (documented inline): the former's stacks/workflows/*.yaml uses newer workflow step types the manifest schema doesn't describe yet, and the latter intentionally configures no stacks.name_pattern.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
atmos.yaml has no schema section, and ensured adding a registry entry doesn’t remove existing ones.atmos validate stacks directly against example folders using in-repo schema files.Nothing published for this version
fix(hooks): store-output hooks inherit the run's default identity @aknysh
<details> <summary>fix(hooks): store-output hooks inherit the run's default identity @aknysh (#2662)</summary>
store-outputs hook path inherit the run's auto-detected identity for
stores that don't declare their own identity, matching the main terraform path.internal/exec.HookStoreDefaultIdentity helper (auto-detect the active identity from the
auth manager's chain, normalize empty/select/disabled to ""); cmd/terraform's
injectHookStoreAuthResolver now calls SetAuthContextResolverWithDefaultIdentity instead of the
resolver-only variant.pkg/store.defaultIdentityForStore was missing *SecretsManagerStore
(aws/asm), so AWS Secrets Manager stores never inherited a default identity on any path. Added
the case so aws/asm behaves like aws/ssm.internal/exec.TestHookStoreDefaultIdentity (new), cmd/terraform
TestInjectHookStoreAuthResolver_InheritsDefaultIdentity (replaces …_ResolverOnly), updated
pkg/store default-identity test so identity-less aws/asm asserts inheritance, and Floci E2E
TestAWSStoreHooks_InheritedIdentity_FlociE2E with fixture aws-store-hooks-floci-inherit.docs/fixes/2026-06-27-store-hook-inherit-default-identity.md.Hook fix. Under Atmos auth, atmos terraform apply on a component with a store-outputs hook
applied successfully but then failed in the hook when the target store had no identity:
INFO Running hooks event=after.terraform.apply status=success
✓ Fetching <output> from <component> in <stack>
Error: failed to assume write role: … get identity: get credentials:
failed to refresh cached credentials, no EC2 IMDS role found, … ec2imds: GetMetadata …
Hooks run in a freshly-loaded config, so the apply-phase store registry (and its injected default
identity) is gone. The hook re-injected the resolver but no default identity, so identity-less
stores fell back to the default AWS SDK credential chain — empty under Atmos auth (credentials live
in the keyring, not the environment) — and dropped to EC2 IMDS. The main terraform path and !store
reads already inherit the run's identity; this removes a surprising asymmetry and completes the
follow-up explicitly deferred in #2625 ("Component-identity inheritance for identity-less stores is
intentionally left for a follow-up design decision").
ASM fix. defaultIdentityForStore handled *SSMStore, *AzureKeyVaultStore, and *GSMStore
but not *SecretsManagerStore, so aws/asm stores without an explicit identity could never
inherit one. This was latent before (and was even codified by the old test); the hook fix's E2E
surfaced it.
Backward compatible. HookStoreDefaultIdentity returns "" whenever no identity is resolved
(no auth manager, or empty/select/disabled), and SetAuthContextResolverWithDefaultIdentity("")
is a no-op for the default — so runs without Atmos auth keep their prior ambient/default-SDK
credential behavior, and stores with an explicit identity are never overridden.
docs/fixes/2026-06-17-aws-stores-secrets-auth-and-gists.md,
docs/fixes/2026-05-25-store-hook-missing-backend-role-assumption.md.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Nothing published for this version
feat(emulator): local cloud emulators + emulator-based advanced quick-start & docs example drawer @osterman
<details> <summary>feat(emulator): local cloud emulators + emulator-based advanced quick-start & docs example drawer @osterman (#2647)</summary>
Emulator feature — run cloud-service emulators locally as first-class Atmos components:
emulator component kind + driver registry (pkg/emulator): the EmulatorDriver interface, ResolveDriver/Drivers, Endpoint/Profile types, the built-in AWS Floci driver, and the AWS target-profile builder (dummy creds, AWS_ENDPOINT_URL, and the Terraform provider behavior flags env can't set).atmos emulator CLI (cmd/emulator): lifecycle verbs (up/down/reset/list/…), flags, and shell completions.pkg/auth, pkg/component, internal/exec); generic provider-config contribution (pkg/generator).docs/prd/emulators.md, docs/prd/kubernetes-identity.md, docs/prd/provider-config-contributor.md.examples/emulator-aws, examples/demo-floci, and the floci/acceptance jobs.website/blog/2026-06-22-emulator-persistence.mdx.Emulator-based advanced quick-start — rewrote the advanced tutorial to deploy a real event-driven AWS backend (KMS key, encrypted S3 bucket, DynamoDB table, SNS topic, SQS queue, SSM Parameter Store config) entirely on your laptop, with no AWS account and no credentials, via the emulator. New backing example examples/quick-start-advanced (replaces the old VPC-based one).
Docs UI — a right-side [Example] drawer that follows each quickstart page and shows the page's backing example files (QuickStartExampleDrawer, wired through theme/DocItem/Content + theme/Root, reading the file-browser plugin's global data). Plus restyled File, Terminal, KeyPoints ("You will learn"), KeyTakeaways, EmbedExample, and ActionCard components, a CodeBlock line-numbers toggle, and supporting theme/CSS overrides.
osterman/container-component-type (reuses its persistent container lifecycle via ComponentType: "emulator").docs/prd/emulators.md for the full design and per-step implementation sequence.</details>
<details> <summary>Fix bare command docs links @osterman (#2660)</summary>
auth, ai, and toolchain to their canonical /usage pages./cli/commands/auth./usage command overview URLs canonical without changing valid bare command routes such as workflow, devcontainer, and ci.https://atmos.tools/cli/commands/auth returning 404.cd website && npm run build.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Nothing published for this version
feat(hooks): run custom step types as lifecycle hooks (kind: step) @osterman
<details> <summary>feat(hooks): run custom step types as lifecycle hooks (kind: step) @osterman (#2658)</summary>
kind: step component-lifecycle hook that delegates to the workflow/custom-command step registry, making every registered step type (container, http, toast, log, markdown, …) runnable on terraform lifecycle events — name a step type: and pass its parameters under with:.when: success|failure|always selector (default success) controls outcome-based firing, and {{ .status }}/{{ .exit_code }}/{{ .error }} template context plus ATMOS_HOOK_* env vars (alongside component/stack) let a hook announce exactly what happened.hooks JSON schema into a structured per-hook envelope (kind enum incl. step, events, on_failure, when, type, with, retry) across all three schema copies, kept non-breaking (additionalProperties: true).with: decode, when filtering, outcome template/env exposure, retry, and on_failure.store, command, infracost, checkov, kics, trivy, git); every new capability meant a new kind. Reusing the existing, well-tested step registry lets the whole step library work as hooks without forking the abstraction.after-* hooks fired only on success (cobra skips PostRunE on error) and the outcome reached only CI hooks, never user hooks. Firing user hooks on failure with when + outcome context closes that gap while defaulting to success-only so existing hooks (e.g. store) keep their behavior.docs/prd/hooks-step-types.md/stacks/hooks#kind-step-run-a-step-type and #reacting-to-success-or-failurehttp step type used in the Slack example lands in a separate PR; the bridge works today with every registered step type.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
when conditions for workflow steps, hooks, and structured custom-command steps (including predicate logic and workflow-style retry).kind: step hooks to run any registered workflow/custom-command step type via type, with, retry, env, and on_failure.ATMOS_HOOK_STATUS, ATMOS_HOOK_EXIT_CODE, and ATMOS_HOOK_ERROR.<details> <summary>Skip fork autofix and refresh setup-go pins @osterman (#2659)</summary>
atmos.ci autofix job when a pull request comes from a fork.atmos-pro[bot] loop guard and same-repo PR autofix behavior.actions/setup-go v6 SHA pins to match the current upstream v6 tag.atmos pro commit cannot authenticate or push fixes.verify workflow checks that SHA-pinned actions match their tag comments; the previous setup-go pins pointed at v6.4.0 while labeled as v6.actions/setup-go, and commit hook check yaml.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
actions/setup-go@v6) to newer immutable revisions for more consistent build and test runs.Nothing published for this version
Nothing published for this version
Modeling this as provider capabilities (rather than reviving the deprecated ci.* hook *kinds*) keeps CI reporting where it belongs and lets every SARI…
<details> <summary>feat(workflows): http step type (webhook alias) with retries @osterman (#2641)</summary>
http workflow/custom-command step (type: http) that performs an HTTP request — any verb (GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS), query string parameters, headers, and a request body via body (raw) or form (urlencoded, or JSON when Content-Type is JSON).webhook as a first-class alias for http (type: webhook behaves identically) for the fire-a-notification use case. This adds alias support to the step registry: NewBaseHandler is variadic for aliases, Get() resolves aliases, and List/Count report only the canonical entry (no duplicate step type).timeout and retry that composes with the existing retry: policy; retry is HTTP-aware (transport errors, 5xx, and 429 retry by default, other 4xx fail fast, and retry.conditions regexes force additional cases).expect.status (codes) and expect.response (regexes); the response body and status are captured as the step's value/metadata for downstream steps.WorkflowStep and Task (so it works in both workflows and custom commands) plus the HTTPExpect struct, ErrHTTPStep* sentinels, JSON manifest updates, docs, an examples/http-webhooks example, a changelog blog post, and a roadmap milestone.curl, which isn't portable (Windows), is awkward to template, and gets no first-class timeout/retry handling.http is the accurate name (an inbound callback receiver is what "webhook" conventionally means); webhook is retained as an alias so the evocative name still works.retry.Do path that shell/atmos use, so the handler applies retry itself via retry.WithPredicate — which is what enables status-code-aware retry decisions a generic wrapper can't make.website/blog/2026-06-20-http-step-type.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
http, with webhook alias) to call HTTP endpoints from workflows.body vs form payloads.retry.conditions for additional match-based retries.Documentation
Tests
</details>
<details>
<summary>feat(workflows): add say step for audible TTS notifications @osterman (#2640)</summary>
say workflow step type that speaks its content aloud using text-to-speech, and gracefully degrades to printing the message as a Markdown blockquote when no speech engine is available or when running in CI/headless.pkg/say package (mirroring pkg/browser) that detects macOS say, Linux spd-say/espeak/espeak-ng, and Windows PowerShell System.Speech, behind a Speaker interface with a CommandRunner DI seam and functional options.voice list (first installed voice on the host wins), a rate field (slow/normal/fast), and a print policy (fallback/always/never); add the matching Voice/Rate/Print fields to WorkflowStep and sentinel errors ErrSayNotFound/ErrVoiceListUnsupported.examples/say-something/ reference example, workflow step-type docs, an announcement blog post, and a roadmap milestone under the Workflows Overhaul initiative.say gives an audible cue when a workflow finishes or needs input, going beyond the bell-only alert step by announcing what happened.say only works on macOS — this makes audible notifications portable across macOS/Linux/Windows and safe in CI, so the same workflow runs unchanged everywhere and never fails on a missing engine.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
say workflow step for cross-platform text-to-speech with automatic engine detection.voice, rate, and a print policy (fallback, always, never) that can render a Markdown blockquote when audio isn’t available.Bug Fixes
Documentation
say step docs, a “say something” example (README + Atmos config + workflow), and a blog post; updated step-type listings.Tests
say execution.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details><details> <summary>feat(hooks): CI annotations and SARIF upload for scanner findings @osterman (#2631)</summary>
ci.annotations (default on) — inline GitHub ::error/::warning annotations anchored at each finding's file and line on the PR diff. The non-Code-Scanning path: needs no GitHub Advanced Security.ci.results (default off) — upload the raw SARIF to GitHub Code Scanning (Security tab) natively, with no github/codeql-action step. Analysis category is auto-derived from the scan target so per-component uploads don't overwrite each other.Annotator, SARIFReporter) — siblings of the existing check-run/comment/summary capabilities — not as hooks. All three reporting outputs (ci.summary/ci.annotations/ci.results) are gated by ci.enabled.format: sarif to a kind: command hook — any SARIF-emitting tool (tfsec, semgrep, gitleaks, …) gets findings, annotations, and upload with no Go code.ci.* hook kinds) keeps CI reporting where it belongs and lets every SARIF-emitting hook, built-in or custom, participate through one shared path.main; #2617 is not yet merged, so this PR's diff currently includes #2617's commits — they drop out once #2617 merges and this branch is rebased.🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
ci.enabled, ci.annotations, and ci.results).kind: command hooks with format: sarif to route findings into the same CI destinations.spec.endpoint_url; CI reporting is best-effort and won’t fail scans/plans.<details> <summary>feat(container): persistent container component kind + compositions @osterman (#2645)</summary>
Adds a stack-scoped, Atmos-native container component kind — one component is one persistent service — plus first-class compositions membership.
atmos container <verb> <component> -s <stack>): build, push, pull, run, up, ps, logs, exec, restart, stop, rm, down. Long-running containers are discovered by labels derived from the canonical instance address <stack>/container/<component> (name atmos-<stack>-container-<component>), not local state files. up/run build the image first when vars.build-style build: is set and the image is missing.image, build, run are top-level component sections (reusing the workflow container-step structs ContainerBuildStep/ContainerRunStep), not nested under vars. Container app env comes from the component env: section.atmos container list shows per-instance running state (running/stopped/unknown), discovered by label. The generic atmos list components lists containers as a component type without container-specific status — consistent with terraform/ansible (there is no atmos terraform list/atmos ansible list).composition: membership field + a top-level compositions: section (closed for membership, open for fulfillment). Operating a component with undeclared membership is a hard error; atmos composition validate <name> -s <stack> reports fulfilled vs. not-provided services.metadata.inherits inheritance + generic deep-merge of all top-level keys, so container honors catalog/abstract defaults like built-in kinds. Abstract components are rejected for execution and filtered from listings.container (and fixes the pre-existing ansible gap in list components).Containers should be first-class, addressable component instances like terraform/helmfile/packer/ansible, and atmos list components should show whether each is running. A set of container components grouped by a composition is "our own Compose" with no compose.yaml. Implements docs/prd/container-components.md.
docs/prd/container-components.md, docs/prd/compositions.mdexamples/container-component/, examples/compositions/website/docs/cli/commands/container/, website/docs/components/container.mdx.claude/skills/atmos-core-component-development/[!NOTE] Stacked on
osterman/container-step-prd(the container step), notmain. Changelog/roadmap are not required for this base (the gate is main-only); they'll go on the PR that brings the container feature tomain.
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
atmos container for persistent, stack-scoped container lifecycle management (build/push/pull, run/up/down, start/stop/restart, rm, ps/logs/exec/attach), including bulk mode (--all) and interactive selection.atmos composition validate to report composition service fulfillment across stacks.Updates
components.container.* with image/build/run, metadata.inherits deep-merge, and improved run.command parsing.run.restart and run.healthcheck support; updated container instance labels to tools.atmos.*, plus enhanced shell completion and log streaming.Documentation
</details>
Nothing published for this version
Nothing published for this version
Nothing published for this version
docs(ci): document github/artifacts planfile runtime-token requirement + E2E test @osterman
<details> <summary>docs(ci): document github/artifacts planfile runtime-token requirement + E2E test @osterman (#2649)</summary>
github/artifacts store talks to the GitHub Artifacts runtime API for both upload and download, so a planfile uploaded by a plan job can be consumed by a separate deploy job in the same run.deploy. When planfile storage is configured and atmos terraform deploy runs under CI, Atmos downloads the stored plan, re-plans, compares them with a semantic JSON plan-diff, and applies the verified plan — failing on drift by default. Configurable via components.terraform.planfiles.verify (fail | warn | off) and --verify-plan / --no-verify-plan (CLI > config > CI default).github-runtime action to advertise planfiles, documented the runtime-token requirement, and added the automatic-flow planfile-verify-e2e workflow (kept the manual planfile-artifacts-e2e).deploy (which re-runs plan, so a fresh plan exists to diff against), not apply (which never re-plans).atmos terraform deploywebsite/blog/2026-06-22-native-ci-planfile-verification.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
fail (strict), warn (proceed), or off (skip).--verify-plan / --verify-plan=false) to override configuration at runtime.Tests
Documentation
Chores
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat: native container steps for workflows and custom commands @osterman (#2626)</summary>
type: container step (build / push / run) to the shared step library used by both workflows and custom commands, built on the existing pkg/container Docker/Podman runtime (new ephemeral one-shot runner plus image build/tag/push/inspect helpers; ImageInspect added to the Runtime interface, mocks regenerated).value/values/metadata/outputs/skipped/error (command-like steps add stdout/stderr/exit_code), so a build step can publish an image reference consumed by later push/run steps via {{ .steps.<name>.outputs.<key> }}.identity for registry auth and Docker Buildx + Buildx Bake builds; Podman uses the native podman build path.examples/container-step example and a hermetic GitHub Actions job ([container-step]) that exercises build → push → run against a registry:2 service on localhost:5000, including failure-propagation.website/docs/workflows), add a changelog blog post, and update the roadmap (container steps + step outputs marked shipped).container-components.md, compose-components.md, and a rewritten membership-based compositions.md — and trim container-actions-and-step-outputs.md to cover only the procedural step. Remove the earlier targets:-based composition scaffolding (pkg/composition, cmd/composition, the composition step, and schema.Composition*) in favor of those PRDs.docs/prd/container-actions-and-step-outputs.md, docs/prd/container-components.md, docs/prd/compose-components.md, docs/prd/compositions.mdwebsite/blog/2026-06-17-native-container-steps.mdxwebsite/src/data/roadmap.js<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
type: container workflow step actions: build, push, run, and inspect, with image metadata and step exit/status details.outputs support with {{ .steps.<name>.outputs.<key> }} propagation for later steps.Bug Fixes
env: declarations.Documentation
Tests / CI
<details> <summary>fix(secret): skip remote-state reads in credential-free secret list @sgtoj (#2657)</summary>
atmos secret list skip the YAML functions that perform authenticated backend reads (!terraform.state, !terraform.output, !store, !store.get) while it enumerates secret declarations.credentialFreeSkip() helper and use it in the two credential-free paths: secret list -s <stack> enumeration and the single-scope secret list -s <stack> -c <component> path without --verify.get / set / exec / shell, and secret list --verify) are unchanged — they keep skipping only !secret.TestCredentialFreeSkip pinning the skip set and a docs/fixes write-up.!terraform.state / !terraform.output / !store in component vars / settings. With auth disabled, the S3 backend assumes its configured role with no base credentials, the AWS SDK falls back to the default credential chain, and ultimately dials the EC2 IMDS endpoint — unreachable on a workstation — so the command aborts with a confusing assume-role/credentials error even immediately after a successful atmos auth login.secrets.vars declarations (secrets.ExtractDeclarations), which never require a resolved value. Evaluating these functions was unnecessary and failure-prone. A skipped function leaves its raw string in place, which the declaration extractor ignores, so discovery is unchanged.secret list authenticated per component, so these reads had credentials (slow, but working). Disabling auth removed the credentials without removing the reads.atmos secret list).docs/fixes/2026-06-23-secret-list-credential-free-skip.mdgo test ./cmd/secret/... and the repo's custom-gcl lint (both green), and end-to-end against a multi-account repo whose components reference cross-account !terraform.state: secret list -s <stack> aborted before, completes after (no state reads, no credential-resolution fallbacks).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
atmos secret list failing with credential errors after atmos auth login by preventing credential-free operations from attempting authenticated backend reads.<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(auth): retry transient auth on freshly-brokered STS git clones @osterman (#2653)</summary>
broker.HasBrokeredCredentials() signal and a CustomGitGetter.RetryAuthErrors flag (existing per-source retry: config still takes precedence).Warn (was Debug, invisible at the default Warning log level) and log an actionable Error when the brokered-auth retry window is exhausted.-race concurrency guard proving EnsureCredentials provisions exactly once with a happens-before barrier.atmos vendor pull intermittently failed with fatal: Authentication failed even though the same run logged a successful token mint and OIDC auth — a subset of clones failed and a rerun was clean.APP-CLOUDPOSSE-COM-AM2), but the CLI git path did not — isRetryableGitError treated auth as terminal and vendor sources have no retry by default, so the earliest clones failed hard.mint.ts / token-provider), ruling out mid-run expiry; the post-mint propagation window is the cause.revoke_on_exit cross-process token race on the shared, unlocked github/sts state.json.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
RetryAuthErrors setting on the custom Git getter to enable this behavior.Improvements
Tests
Chores/CI
gofumpt version in pre-commit.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details><details> <summary>perf(stacks): dedupe per-identity auth in nested terraform.state resolution @sgtoj (#2656)</summary>
AuthManager memoization introduced in #2652 from the top-level describe stacks pass into the nested resolution path that runs while templates and YAML functions are evaluated (!terraform.state, !terraform.output, atmos.Component(...)).nestedAuthManagerCache, consulted by resolveAuthManagerForNestedComponent, keyed by the parent auth chain + a deterministic JSON fingerprint of the component's auth section.buildComponentAuthCacheKey used by both the processor cache (#2652) and this nested path, so the two keying strategies cannot drift.ResetStateCache() also clears the new cache (kept consistent with the terraformStateCache it pairs with). Neither is reset in production.!terraform.state still ran a full auth cycle (credential writes, file locks, keyring rebuilds) once per distinct target — even when every target resolves to the same identity. terraformStateCache only short-circuits a repeat read of the same target, not distinct targets that share an identity.Measured — atmos describe stacks -s <stack> on a large real-world stack (credentials provided via auth exec, 45s cap; only the binary under test varies):
| build | wall time | per-component auth cycles |
|---|---|---|
| latest release | DNF (>45s) | — |
main (includes #2652) |
~17–19s | 44 |
| this PR (#2652 + nested dedup) | ~10–11s | 5 |
Output was verified equivalent to main: the remaining run-to-run differences are pre-existing auto_provision_workdir_for_outputs / tofu output provisioning nondeterminism present on both builds (same identity resolved throughout, no new errors). A matched-output pair differed by fewer lines than the main-vs-main noise floor.
The nested path is shared by describe affected, list, and terraform --all/--query. On a large multi-component change, the full per-identity auth cycles during describe affected likewise drop from scaling with the number of resolved components to roughly one-per-identity, with the rest served from the cache.
go build ./... && go test ./internal/exec/... — new unit tests cover key behavior, dedupe-by-identity, parent-chain isolation, errors-not-cached, unserializable-section-not-cached, and the ResetStateCache coupling.custom-gcl run --new-from-rev=main → 0 issues.docs/fixes/2026-06-22-dedupe-nested-component-auth.md<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<details> <summary>fix(describe): respect metadata.enabled when evaluating component functions @sgtoj (#2655)</summary>
metadata.enabled when the shared describe pipeline (describe affected, describe stacks, list) evaluates a component's functions:
!terraform.state / !terraform.output are skipped for components disabled via metadata.enabled: false — the raw function string is left unresolved (no backend read).atmos.Component(...) returns empty sections (including an empty outputs) when the enclosing component is disabled — no describe, no state read, and template-safe (.outputs.x / .vars.x evaluate to nil instead of erroring).metadata.enabled (via the existing isComponentEnabled), independent of vars.enabled.describe affected describes the current and base stacks and evaluates every component's templates/YAML functions with no metadata.enabled gate. A component disabled with metadata.enabled: false that references an unprovisioned component's state therefore failed hard with terraform state not provisioned — even though disabled components are (correctly) excluded from the final affected list. The enabled-aware filters (shouldSkipComponent, FilterAbstractComponents) only run when assembling that list, after the describe phase has already failed.Fixes #2654.
docs/fixes/2026-06-22-describe-respect-metadata-enabled.mddisabledComponentTerraformSkip (adds the terraform funcs, clones the base skip), enclosingComponentDisabled (nil/absent metadata ⇒ enabled; vars.enabled:false alone ⇒ enabled; metadata.enabled:false ⇒ disabled), componentFunc returns empty sections for a disabled enclosing component, and an end-to-end processComponentEntry test (disabled ⇒ !terraform.state not resolved; enabled / vars.enabled:false-only ⇒ resolved).go build ./..., go vet ./internal/exec/..., and custom-gcl run --new-from-rev=main (0 issues).Note: the
TestDescribeAffected*integration tests are environment-sensitive and fail identically on a cleanmaincheckout locally (macOS); they are unrelated to this change. CI (Linux) is authoritative.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
atmos describe affected and related stack inspection commands now correctly honor metadata.enabled: false, avoiding Terraform state/output inspection and template evaluation for disabled components.atmos.Component(...) template handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>Nothing published for this version
Nothing published for this version
Nothing published for this version
fix(stacks): scope and cache per-component auth in describe stacks @sgtoj
<details> <summary>fix(stacks): scope and cache per-component auth in describe stacks @sgtoj (#2652)</summary>
resolveComponentAuthManager in processComponentEntry so only in-scope components authenticate (auth still precedes BuildTerraformWorkspace, template, and YAML-function processing).Any auth-enabled ExecuteDescribeStacks caller — atmos describe stacks, atmos list values/instances, atmos terraform --all/--query — resolves per-component auth before the stack/component filters and never reuses it. On a multi-stack repo where components declare their own default: true identity, atmos describe stacks -s <stack> authenticates components in other stacks before discarding them, and re-authenticates each same-identity component from scratch — so the command effectively hangs.
Per-component auth exists only to populate info.AuthContext for that component's later template (atmos.Component(...)) and YAML-function (!terraform.state, !terraform.output) processing, which is skipped for filtered-out components — so authenticating them is wasted work.
#2646 fixed atmos secret list by disabling per-component auth for that command; it did not touch the shared processor, so every other caller still hits this.
Measured with the identical command atmos describe stacks -s <stack> --logs-level Debug under a 45s budget, only the atmos binary varying:
| binary | result |
|---|---|
| latest release (v1.221.1) | did not complete within 45s (authenticating mostly out-of-scope stacks) |
current main (aa68d85be) |
did not complete within 45s |
| this PR | completed in ~18s |
With the fix, in-scope processor-path authentications drop to 2 and out-of-scope ones to zero (the ~42 remaining auths are legitimate nested !terraform.output / atmos.Component reads).
docs/fixes/2026-06-22-describe-stacks-scope-and-cache-per-component-auth.md<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
describe stacks operations with stack/component filtersDocumentation
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
docs: add Custom to the Component Library @osterman
<details> <summary>docs: add Custom to the Component Library @osterman (#2638)</summary>
website/docs/components/custom.mdx explaining custom component types (with a minimal Script Runner example and a native-vs-custom comparison), linking to the existing reference and changelog rather than duplicating them.website/sidebars.js) after Ansible.components-overview.mdx) — a pointer under the Component Types table and a Next Steps bullet.cli/configuration/commands#custom-component-types, but a user browsing the Component Library never saw them as a first-class option — the nav didn't match the actual capability.no-release): no behavior changes, and the feature already has its own changelog post./cli/configuration/commands#custom-component-types/changelog/custom-component-types<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
components.<type>.<name> for use in templates.vars, settings, and env are made available to templates.<details> <summary>feat: support description in component metadata @osterman (#2634)</summary>
description field to component metadata.metadata.description.pkg/datafetcher/schema_metadata_validation_test.go) verifying both the embedded and website schemas accept metadata.description.metadata is already a free-form map at runtime, so no Go changes were required).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
metadata.description field for components, allowing human-readable descriptions to appear in listings and editor validation.Documentation
metadata.description.Tests
metadata.description is accepted and validated.Chores / CI
<details> <summary>fix(secrets): fast, credential-free atmos secret list @osterman (#2646)</summary>
atmos secret list require no authenticated identity and never decrypt — it only reports whether each secret is set. On a 72-component stack, listing drops from ~21–34s (it previously authenticated every component and decrypted every secret) to effectively instant.Has) to a non-decrypting metadata API: SSM GetParameter with WithDecryption=false, Secrets Manager DescribeSecret, GCP GetSecretVersion, Azure Key Vault properties pager, Vault KV metadata read, and a no-reveal 1Password check.STATUS (initialized / missing / unknown) plus a new --verify flag: remote-store status shows unknown by default; --verify contacts backends with a read/describe identity (never a decrypt identity) on a fully-scoped target.kms:Decrypt-style permissions).secret list slow (and prone to hanging) on real-world stacks and unusable without cloud credentials.unknown (credential-free) and opt into a real check via --verify, while local backends (SOPS) always show accurate status for free.atmos secret list workload is fully addressed here); follows #2642.website/docs/cli/commands/secret/list.mdx; changelog: fast-credential-free-secret-list.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
--verify to atmos secret list for authoritative remote initialization checks; remote-backed secrets now show real status when enabled.Bug Fixes
unknown unless verified.unknown label rendering.Documentation
atmos secret list docs and added a blog post covering the fast credential-free flow.Tests
--verify, unknown status, and credential-free/metadata-only existence checks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details><details> <summary>fix(secrets): SOPS cloud-KMS secrets authenticate via Atmos identity @osterman (#2643)</summary>
atmos secret and !secret (during terraform plan) against a SOPS cloud-KMS backend now authenticate using the Atmos identity — --identity / ATMOS_IDENTITY, the per-provider secrets.providers.<name>.identity, or the stack/component effective identity — instead of requiring ambient cloud credentials.kind. Credentials are injected into the in-process getsops encrypt/decrypt via ApplyToMasterKey (no process-environment mutation).pkg/secrets/providers/sops/ with a registry of per-cloud key handlers (aws.go / gcp.go / azure.go); the cloud-SDK credential building lives in the depguard-exempt pkg/store/sopsauth/ bridge so the SOPS package imports no cloud SDK directly.AtmosConfiguration.SecretsAuth seam, populated in both the atmos secret and terraform code paths.secrets.providers.<name>.identity field and --identity were silently ignored for the SOPS cloud-KMS track, forcing every command to be wrapped in atmos auth exec even though Track-1 stores (SSM/ASM/Key Vault/Secret Manager) already authenticated via the identity.kind remains only for the legitimate age-vs-KMS keygen distinction.secret set/get — the exact #2637 scenario, RED before this change) plus unit tests for key-service selection, per-cloud registry dispatch, identity precedence, and kind-aware error hints.docs/fixes/2026-06-20-sops-cloud-kms-identity.md (root cause, fix, and full backend audit)<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
atmos secret and Terraform execution (including !secret during terraform plan) use the Atmos effective identity instead of ambient credentials.<details> <summary>Add Atmos media kit and CI branding @osterman (#2636)</summary>
go test ./pkg/ci/plugins/terraformpnpm exec docusaurus build<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
/brandkit redirect to /media-kit.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix AWS store auth and add Floci E2E coverage @osterman
<details> <summary>Fix AWS store auth and add Floci E2E coverage @osterman (#2625)</summary>
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
kind identifiers (legacy type supported as aliases) and added clearer secret scope: global documentation.Bug Fixes
secret: true store read restrictions (!store/!store.get/atmos.Store now reject); improved endpoint handling with lazy client initialization.Documentation
CI & Tests
floci-go job to the release pipeline.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details><details> <summary>Fix use-version before command resolution @osterman (#2629)</summary>
--use-version / ATMOS_USE_VERSION re-exec before Cobra resolves subcommands.--use-version=..., and --use-version ... forms with commands unknown to the current binary.PersistentPreRun could switch Atmos versions.ref:, sha:, and PR Atmos builds.go test ./cmd -run 'UseVersion|UnknownSubcommand|ParseUseVersion' and go test ./pkg/version -run 'CheckAndReexec|UseVersion|RefVersion'.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
--use-version or ATMOS_USE_VERSION, ensuring the correct Atmos version is selected earlier during startup—even when the command is not yet recognized.Tests
--chdir, and packer error handling.Nothing published for this version
fix(toolchain): harden cosign verifier bootstrap @osterman
<details> <summary>fix(toolchain): harden cosign verifier bootstrap @osterman (#2627)</summary>
sigstore/cosign@v3.0.6 fallback only when latest-version lookup fails.cosign on PATH still wins, and verifier_install: path_only still disables auto-install.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
Chores
Nothing published for this version
test: stabilize Terraform cache coverage @osterman
<details> <summary>test: stabilize Terraform cache coverage @osterman (#2620)</summary>
components.terraform.cache.enabled and components.terraform.cache.location, plus docs in the Terraform config and environment variable references.TF_PLUGIN_CACHE_DIR under the Atmos XDG cache root, and bump the CI cache key so actions/cache saves a fresh provider-plugin cache.atmos.yaml files.go test ./pkg/config -run 'TestViperBindEnv_.*Cache', go test ./pkg/terraform/cache -run 'Test.*Trust|Test.*Windows', go test ./tests -run TestTerraformRegistryCache -timeout 10m, and git diff --check.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
enabled and location options to control caching behavior.ATMOS_COMPONENTS_TERRAFORM_CACHE_ENABLED and ATMOS_COMPONENTS_TERRAFORM_CACHE_LOCATION for cache control.Documentation
Tests
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
Nothing published for this version
Removed deprecated command wrapper entry points and other unused internal helpers to simplify the command surface area.
<details> <summary>refactor(utils): drop dead helpers and hand-rolled SliceContainsString @osterman (#2608)</summary>
SliceContainsString / SliceContainsStringHasPrefix / SliceContainsStringStartsWith helpers with stdlib slices.Contains / slices.ContainsFunc across ~39 call sites, and remove the helpers from pkg/utils.ExtractAtmosConfig, GetGitHubRepoReleases, GetGitHubReleaseByTag, GetGitHubLatestRelease, PrintAsHcl, NewHighlightWriter (plus the now-orphaned HighlightWriter type/method), GetAtmosConfigJSON, PrintAsJSONToFileDescriptor, and PrintAsYAMLWithConfig — including the now-empty config_utils.go and cascaded-unused imports/aliases.depends_on dynamic errors in stack_utils.go to wrapped static errors (ErrDependencyResolution); their messages now carry a dependency resolution failed: prefix.pkg/utils, one of the repo's historical "dumping grounds" — CLAUDE.md already forbids adding to it, so this begins draining it.slices.Contains is the identical O(n) scan as the deleted helper (the hot path in yaml_utils.go already uses an O(1) map), so there is no behavior or performance change from the swap; it also drops a per-call perf.Track defer.err113 lint gate after a flagged if/else chain was restructured into early returns, and aligns with the mandatory static-error policy.pkg/utils files into purpose-built packages (pkg/yaml, pkg/filesystem, pkg/data, etc.).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Refactor
Bug Fixes
Tests
<details> <summary>fix(terraform): restore init + workspace in terraform shell, add --skip-init @osterman (#2616)</summary>
terraform init and Terraform workspace select/new to atmos terraform shell so the interactive shell again starts in an initialized component and the correct workspace (not default).executeTerraformInitCommand from executeTerraformInitPhase so the shell can run init without re-firing the before.terraform.init provisioners it already runs (no double execution). Main ExecuteTerraform pipeline behavior is unchanged.--skip-init opt-out to atmos terraform shell (reuses the existing terraform flag; no new flag definition). Workspace selection stays governed by workspaces_enabled.--skip-init decoupling, and the shell's shouldRunTerraformInit/shouldSkipWorkspaceSetup contract; document --skip-init in the command docs.terraform shell to a standalone ExecuteTerraformShell and silently dropped the init + workspace steps that the shared ExecuteTerraform pipeline used to run.--with-secrets behavior is preserved: secrets are still kept out of the on-disk varfile and withheld from the shell unless explicitly requested.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
--skip-init flag to terraform shell, allowing you to start the interactive shell without running terraform init. You can also set it via ATMOS_SKIP_INIT. Workspace selection behavior remains governed by existing workspaces_enabled rules.terraform shell command docs to describe the new --skip-init option, including how it interacts with workspace selection and how to use ATMOS_SKIP_INIT.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details><details> <summary>fix(templates): honor ignore_missing_template_values for stack name_template (#2345) @aknysh (#2619)</summary>
templates.settings.ignore_missing_template_values flag into every stack name_template rendering site. Previously all 11 name-template ProcessTmpl(...) call sites passed a hardcoded false, so the flag was silently ignored for name-template rendering.describe locals name, spacelift utils, terraform workspace, terraform generate backends/varfiles, the shared name-template util, and validate stacks.TestBuildTerraformWorkspace_IgnoreMissingTemplateValues asserting both directions (flag off → error; flag on → <no value>).gofumpt reformatting two adjacent pre-existing fmt.Errorf calls in stack_utils.go - err113 debt under golangci-lint --new-from-rev=origin/main. Converted them to the mandated static-wrapped-error pattern (new sentinels ErrInvalidDependsOn / ErrInvalidSettingsDependsOn in errors/errors.go) with tests covering both resolution branches and the errors.Is behavior.templates.settings.ignore_missing_template_values: true, they still hit hard errors like map has no entry for key "..." whenever the error originated from rendering the stack name_template — because the name-template ProcessTmpl sites bypassed the flag.false, so existing configurations render exactly as before; behavior only changes for users who explicitly opt in.err113 conversion follows the repository's mandated static-error pattern and keeps the pre-commit/CI lint green; messages are unchanged.docs/fixes/2026-06-15-name-template-ignore-missing-template-values.md<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
ignore_missing_template_values across stack- and dependency-related name derivations (including Terraform workspace and generated stack naming).depends_on inputs via dedicated sentinel errors.Tests
ignore_missing_template_values behavior and dependency resolution success/failure.Documentation
ignore_missing_template_values behavior for stack name template rendering.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>Nothing published for this version
feat: terminal steps - tty/interactive fields and exec step type @osterman
<details> <summary>feat: terminal steps - tty/interactive fields and exec step type @osterman (#2602)</summary>
Terminal steps for custom commands and workflows — three related capabilities:
interactive: true — attach host stdin and let the step own Ctrl-C. Atmos suspends its SIGINT-exit handler while the step runs (new pkg/signals suspension registry consulted by the main.go signal handler).tty: true — allocate a pseudo-terminal (reusing pkg/terminal/pty, same engine as atmos devcontainer attach). The command sees a real TTY; secret masking is applied to PTY output. With interactive: true, the host terminal switches to raw mode so Ctrl-C flows through the PTY to the child.type: exec — replace the Atmos process entirely (shell exec semantics): execve of the system shell on Unix (env, working directory, and terminal inherited natively; ATMOS_SHLVL unchanged), spawn-and-propagate-exit-code emulation on Windows. Validated to be the final step; tty/interactive/retry/timeout/output are rejected on exec steps.Architecture: all logic lives in narrow packages — pkg/process (RunShellStep routing, RunShellSession, ReplaceShellSession), pkg/schema (validation), pkg/signals (interrupt suspension). cmd/ and internal/exec contain only inline switch-case call sites; pkg/runner and the step handler share the same routing.
Also fixes in pkg/terminal/pty found along the way:
session-manager-plugin) keep the PTY slave open after the child exits, output drains on a 1s deadline instead of hanging with the terminal in raw modeDisableStdinForward for -t-without--i semanticsCustom commands had no way to hand the terminal to an interactive process:
commands:
- name: ssh
steps:
- type: shell
command: "exec aws ssm start-session --target {{ .Arguments.instance_id }}"
ran the SSM session as a piped, masked subprocess: full-screen rendering broke, and Ctrl-C inside the session killed Atmos itself (global SIGINT handler exits 130), killing the orphaned session with SIGPIPE.
With this change:
commands:
- name: ssh
steps:
- type: shell
tty: true
interactive: true
command: "aws ssm start-session --target {{ .Arguments.instance_id }}"
behaves like docker run -it (supervised: masking preserved, more steps can follow), and:
- type: exec
command: "aws ssm start-session --target {{ .Arguments.instance_id }}"
hands the process over entirely (launcher: native job control, zero proxy overhead, must be the last step).
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
tty and interactive options for shell steps, and introduced exec step type for process replacement.exec steps must be the final step and disallow incompatible fields; improved error hints.<details> <summary>feat(secrets): declarative secrets management with !secret, CRUD CLI, and masking @osterman (#1911)</summary>
Implements the Secrets Management PRD end to end — a GitOps-friendly, multi-cloud secrets workflow built on top of the existing store registry (not a parallel backend). Secrets are declared in stack config (committed to git) and their values live in a cloud secret backend or a SOPS-encrypted file, managed with a Vercel-like CLI and resolved at runtime with a new !secret YAML function.
pkg/store)StoreConfig gains secret: true (subsystem membership) and kind (cloud/thing) with legacy type mapping; !store against a secret: true store is now an error ("use !secret").DeletableStore / StatusStore / SecretAwareStore interfaces; AWS SSM writes SecureString when used as a secret backend and gains Delete/Has.kind↔type compatibility.pkg/secrets)service, declaration registry, resolver, validator, kinds, and a leaf pkg/secrets/providers/ subpackage with a store-adapter (track 1) and a native SOPS provider (track 2: age/aws-kms/gcp-kms/gpg).atmos.yaml, globally in a stack (secrets: top-level merges into every component), or under a single component.!secret + masking (the headline)!secret NAME [| path ...] [| default ...] wired into the live YAML pipeline, with automatic masker registration.describe, list) resolve !secret to <MASKED> without contacting the backend when masking is on (the default) — so you can inspect a stack with no cloud credentials. Value-producing commands (secret get, terraform plan/apply) always retrieve; --mask/ATMOS_MASK only controls redaction of display output.sensitive = true) auto-register with the masker as they flow through !terraform.output / atmos.Component() / describe.cmd/secret)init, set (alias add), get, delete (alias rm), list, pull, push, import, validate.
secrets is now a first-class inheritable component section, plus a global stack-level secrets: block that merges into every component.
atmos secret overview + all 9 subcommands, secrets configuration page, !secret function page; blog post (with an embedded example) and a roadmap milestone.examples/sops-secrets/ — fully self-contained, age-encrypted, no cloud credentials. Bundled atmos test custom command (.atmos.d/test.yaml) proves the full lifecycle end to end (set → encrypted-at-rest → get → list → validate → masked-without-credentials inspection → reveal-needs-key).There was no unified way to manage human-provisioned secrets in Atmos — stores were designed for machine-written Terraform outputs, and the historical workaround (Chamber) was AWS-only. This adds explicit, declarative secret registration so a secret must be declared before it can be set, read, or resolved, and makes "inspect a stack" decoupled from "authenticate to the secret backend."
docs/prd/secrets-management.md and docs/prd/secrets-masking/examples/sops-secrets/ (run atmos test)--mask=false flag did not disable the early-initialized I/O masker (only ATMOS_MASK=false did). io.ReconcileMasking() now reconciles the masker after flags are parsed, so --mask=false and ATMOS_MASK=false behave identically.pkg/store backend implementations could be moved into a pkg/store/providers/ subpackage (mirroring pkg/secrets/providers/) — deferred to a dedicated follow-up PR since it touches ~30 external call-sites.metadata.component) inheritance of the secrets section is not wired yet (component-level + import: + global-stack inheritance all work).🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
secret init, set/add, get, delete/rm, list, pull, push, import, validate, plus exec, shell, and keygen.TF_VAR_*, and secret-bearing values are omitted from generated varfiles by default (with optional shell export).--mask across inspection-style commands.Nothing published for this version
Nothing published for this version
feat(terraform): registry cache, RC management, and multi-platform mirror @osterman
<details> <summary>feat(terraform): registry cache, RC management, and multi-platform mirror @osterman (#2582)</summary>
pkg/http/proxy, pkg/terraform/{cache,registry}) that caches providers and modules in the canonical filesystem_mirror layout, enabled with components.terraform.cache.enabled: true.atmos terraform cache command group — list, stats, prune, delete, plus mirror (alias warm) for eager multi-platform pre-seeding and trust/untrust for the proxy certificate..terraformrc) management via components.terraform.rc, exposed to the subprocess through TF_CLI_CONFIG_FILE/TOFU_CLI_CONFIG_FILE.components.terraform.platforms setting (target <os>_<arch> list) that drives both eager atmos terraform cache mirror pre-seeding (--all/--components/--query/-s, package-manager-style TUI, --format json|yaml) and automatic completion of .terraform.lock.hcl..terraform.lock.hcl complete across platforms: a built-in after.terraform.init provisioner runs terraform/tofu providers lock -platform=… for the declared platforms whenever a customized provider installation method (the default plugin cache, or the registry cache) is active. Because it runs after init, it sees the fully JIT-vendored and code-generated working directory, so the generated provider set (including stack-config provider versions) is what gets locked — and committed lock files install cleanly on every platform in a fleet.SSL_CERT_FILE on Linux/CI and via a one-time atmos terraform cache trust on macOS/Windows.examples/caching (auto-installs OpenTofu via the toolchain), PRDs, command + configuration docs, blog posts, and a roadmap update.TF_PLUGIN_CACHE_DIR) by default, and network mirrors behave the same way: Terraform can no longer record the registry's signed cross-platform checksums, so init writes a .terraform.lock.hcl with hashes for only the current platform and prints the "Incomplete lock file information for providers" warning. Declaring components.terraform.platforms lets Atmos complete the lock automatically for every target platform.components.terraform.platforms + cache mirror provide it.rc lets teams manage provider mirrors, credentials, and other CLI-config directives from atmos.yaml instead of per-machine .terraformrc files.docs/prd/terraform-registry-cache.md, docs/prd/terraform-rc-management.md, docs/prd/terraform-registry-cache-tls.md<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
atmos terraform cache subcommands: list/stats (table/JSON/YAML output), prune (--older-than, --dry-run, --all), delete <key>, mirror (warm alias, optional eager pre-seeding).trust/untrust for HTTPS certificate trust on macOS/Windows (actionable when untrusted).Documentation
components.terraform.rc), and all cache subcommands.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details><details> <summary>feat: Atmos Git — foundational capability for GitOps enablement @osterman (#2597)</summary>
Atmos Git: Git becomes a foundational platform capability, on par with Toolchain, Auth, and Hooks — the enablement layer for GitOps workflows where Atmos commits generated artifacts to a source-of-truth repository. PRD: docs/prd/git-ops.md.
git config — git.repositories.<name> declares managed repositories (uri, branch, remote, clone depth/filter/single-branch/submodules, auth.identity, commit.signing/commit.author, push.retries), git.hooks declares local Git hooks, git.list configures list output. Workdirs default to automatic XDG cache locations ($XDG_CACHE_HOME/atmos/git/repositories/<name>) so the native CI cache captures and restores managed clones.pkg/git service — provider registry (registry pattern) with the cli provider in v1 (chosen because GitHub STS materializes credentials as GIT_CONFIG_* env vars, which subprocess git honors and go-git ignores). Clone is defined as reconcile (clone-if-absent, else fetch + checkout + ff-only) so stale CI-cache restores are just faster clones. Safety rules: ff-only pull, no force push ever, push retry-with-rebase on non-fast-forward rejection, path-scoped commits that fail on unrelated dirty files, worktree path-traversal validation, per-invocation commit author injection (CI runners need no user.name), provenance trailers (Atmos-Stack, Atmos-Component, Atmos-Source-SHA).atmos git command group — clone, pull, status, diff, commit, push, list, clean, plus git hooks install|uninstall|run, registered under the Git help group. --all bulk operations (bounded concurrency, attempt-all with errors.Join). Clone accepts configured names, plain URLs, and go-getter git::...?ref=&depth= URIs. No-arg clone in native CI (ci.enabled: true) infers the current repository from CI metadata and clones into the workspace — an actions/checkout replacement. atmos list git-repositories alias registered.git hook kind — publishes generated artifacts on lifecycle events (after.terraform.apply, ...) to the current repository by default or a named managed repository, with templated commit messages, trailers, clean no-ops, and push-after-commit with retry. Inherits --skip-hooks and on_failure.atmos git hooks install writes worktree-aware .git/hooks/* shims (marker-protected, --force to overwrite, warns when core.hooksPath is set); run dispatches configured commands with stdin forwarding and exit-code propagation.ErrGitRepositoryNotFound, ErrGitAuthFailed, ErrGitPushRejected, ErrGitDirtyUnmanagedFiles, ErrGitPathEscapesWorktree, ErrGitHookNotConfigured, ErrGitRepositoryRequired, ErrGitProviderNotFound) with error-builder hints and exit-code mapping. Git stderr streams to the masked writer and is never embedded in error chains.website/docs/cli/commands/git/, git configuration reference, hook kind docs, changelog blog post (atmos-gitops), roadmap milestone (CI/CD Simplification initiative), and a GitOps publishing demo at examples/gitops (reconcile → review → publish against a managed deployment repo via custom commands).Atmos owns the publishing side of GitOps: render → diff → commit → push, with centralized safety rules. Reconciliation stays with the consumer — Argo CD or Flux pulls from the repository, or CI applies on merge. There are no agents and no drift-correction loop in Atmos itself (explicit non-goal in the PRD); Atmos is the producer feeding the reconciler. This also isn't a replacement for the existing GitHub Actions plan/apply integration — it's the Git plumbing those pipelines use.
GitOps workflows have always needed glue: ad hoc scripts to render manifests into deployment repos, commit them, survive push races, and wire credentials. Atmos already owns rendering, lifecycle events, toolchain, and credentials (GitHub STS) — this PR gives it the Git operations between them, with centralized safety rules instead of per-pipeline shell scripts. It is the foundation for Kubernetes deployment-repository provisioning (Argo CD / Flux rendered-manifest publishing, on the kubernetes component branch) and a future github provider for pull-request-based publishing to protected branches.
docs/prd/git-ops.md (in this PR)pkg/git 86%, pkg/git/providers/cli 88%, pkg/hooks/kinds/git 94%, cmd/git 81%provision.git next)🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
atmos git command group: clone, pull (fast-forward-only), status, diff, commit, push (retries on contention), clean, list, init, plus hooks (install, run, uninstall).atmos.yaml (git.repositories) with deterministic workdirs, git:: URI query params (ref, depth), CI no-arg checkout, and concurrent --all operations.atmos git list now supports configurable columns/formatting and optional status probing.Documentation
<details> <summary>feat: support dotenv files in !include @osterman (#1930)</summary>
Adds explicit dotenv file support to the existing !include YAML function. Dotenv files now resolve to maps, so they can be used directly in CLI and stack env sections and with YAML merge keys.
env:
<<: !include .env
AWS_REGION: us-east-2
Dotenv files can also be layered with YAML merge sequences. This uses YAML's << merge-key syntax, the same YAML mechanism commonly used with anchors and aliases:
env:
<<:
- !include .env.local
- !include .env
AWS_REGION: us-east-2
YAML merge sequence precedence is earlier item wins, and inline keys under env override all merged values.
.env, .env.*, and exact *.env filenames as dotenv files when used with !includeenv: !include .env and env: { <<: !include .env } / block merge forms in stack config!include in atmos.yaml env, including merge sequences for layered dotenv files!include.raw behavior for raw file contents.envrc and foo.env.local unsupported/raw; Atmos does not auto-load or execute dotenv filesenv: !include .env satisfies stack manifest schema rulesenv to document the !include string formenv and stack env docs, including YAML merge-key behavior, include path resolution, and layered files!include supportcd examples/demo-localstack && ATMOS_IDENTITY=false go run ../.. describe component demo -s dev --format json --logs-level Off | jq '.providers.aws'cd examples/demo-localstack && ATMOS_IDENTITY=false go run ../.. validate stacks --logs-level Offgo test ./pkg/config ./pkg/validator ./pkg/filetypego test ./internal/exec -run 'TestGenerateProviderOverrides|TestGenerateProviderOverridesForAliases|TestProcessStackConfigProviderSection'go test ./pkg/config ./pkg/validator -coverprofile=.context/dotenv-include-coverage.outgo test ./pkg/utils -run 'TestInclude(Dotenv|ExtensionBased|RawFunction|WithNoExtension)'node -e "import('./website/src/data/roadmap.js').then(() => console.log('roadmap import ok'))"git diff --checkenv: !include .env validates against tests/fixtures/schemas/atmos/atmos-manifest/1.0/atmos-manifest.jsonCloses DEV-2990
</details>
<details> <summary>feat(ci): GitHub Actions build cache (atmos ci cache) @osterman (#2579)</summary>
~/.cache/atmos — toolchain binaries, vendored components, remote import clones, provider/plugin caches) at startup and saves it at exit, using the same store actions/cache uses (GitHub Actions Cache Service v2).atmos ci cache subcommands: restore, save, list, delete — so the lifecycle can run in one invocation or be spread across CI steps.ci.cache configuration block (enabled, auto: off|restore|save|both, root, paths, key, restore_keys, compression) with ATMOS_CI_CACHE_* env overrides.provider.CacheProvider + ci.DetectCache()) with a backend registry (pkg/ci/cache) and a GitHub Actions implementation (pkg/ci/cache/github), mirroring the existing artifact subsystem; outside a runner it's a clean no-op.~/.cache/atmos/toolchain) so a single cache captures it; add a PRD, command/config docs, blog post, and roadmap entry.actions/cache step and own the key/path logic themselves; Atmos already knows its cache root and can derive a stable key from toolchain.lock.yaml + OS/arch, so it's two settings to enable.docs/prd/native-ci/framework/ci-cache.md/cli/commands/ci/cache and /cli/configuration/ci/cacheactions/cache uses)<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
atmos ci cache group with paths, restore, save, list, and delete, including GitHub Actions-backed caching, admin list/delete, and template-based key/restore-key generation.ci.cache configuration, PRD/blog, and supporting GitHub Actions.<details> <summary>fix(flags): scope --skip-hooks to the terraform command subtree @osterman (#2578)</summary>
--skip-hooks to the terraform command subtree. The flag (and ATMOS_SKIP_HOOKS) moved off the global flag set onto atmos terraform and its subcommands, so it no longer appears in the help of unrelated commands (auth, helmfile, atlantis, toolchain, about, secret, …). Lifecycle hooks only ever run on terraform plan/apply/deploy.tests/fixtures/scenarios/native-ci/{github-output,github-step-summary}.txt are runtime artifacts; gitignored and untracked (matching the newer native-ci-gha-plan scenario).ATMOS_COMPONENTS_TERRAFORM_COMMAND=tofu via a single test-harness default, gates every binary-invoking test on a precondition so a missing binary skips cleanly (instead of baking "executable file not found" into goldens), and sanitizes the harness-injected env var out of debug snapshots. A small parity set (terraform -help/-version passthrough) opts back into terraform.TestMain installs any missing pinned binary (terraform/tofu/packer/helmfile/helm) through the Atmos toolchain itself and prepends it to PATH — "install as necessary", so CI (which supplies them via setup-* actions) downloads nothing while local runs become self-contained. No host binaries (brew, etc.) required.--skip-hooks on every command was misleading — hooks only run on terraform. Mirrors the existing --github-token/toolchain scoping precedent.terraform; only tests change.--github-token/toolchain flag-scoping precedent in pkg/flags/global_builder.go.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
--skill flag for AI context features across CLI commands (requires --ai).Changes
--skip-hooks from global flags to the atmos terraform command flags.--skip-hooks applies to Terraform subcommands (plan/apply/deploy) and supports both no-value usage and comma-separated hook-name selection.Documentation
--skip-hooks documentation under Terraform command usage.--skip-hooks and ATMOS_SKIP_HOOKS from core global flag/environment variable references; updated hooks documentation accordingly.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details><details> <summary>fix(toolchain): retry cosign verification on transport-level network errors @osterman (#2604)</summary>
transportFlakeMarkers allowlist to the cosign retry classifier (pkg/toolchain/verification/signature_rekor.go) so transport-level network errors are retried like other transient Sigstore Rekor flakes:
stream error: stream ID (Go net/http2 stream errors — covers all HTTP/2 error codes and both send/recv variants)connection reset by peerTLS handshake timeouti/o timeoutunexpected EOFTestClassifyCosignError with the exact error observed in CI plus one case per new marker, and add TestRunCosignWithRetry_RecoversFromTransportFlake covering end-to-end retry recovery.CI failed on TestToolchainCustomCommands_InstallAllTools/Install_tofu while toolchain install opentofu/opentofu@1.9.0 was verifying the download signature. Cosign's query to the Sigstore Rekor transparency log died with:
searching log query: stream error: stream ID 1; INTERNAL_ERROR; received from peer
Atmos already retries cosign flakes (runCosignWithRetry, 5 attempts with exponential backoff), but the retryable classification is a deliberate allowlist that only recognized Rekor HTTP response flakes (searchLogQueryBadRequest, the IEEE_P1363 decode error, and 5xx scoped to the tlog retrieve endpoint). An HTTP/2 transport error matched none of the markers, so it surfaced on the first attempt with no retry.
Broadening to transport-level failures is safe within the allowlist's design rule: the allowlist exists so a real signature verdict (tampering, identity mismatch, expired cert) is never silently retried away. A transport failure means the request never completed and no verdict was rendered, so retrying it categorically cannot mask tampering. Existing negative tests (tampered artifact, identity mismatch, generic failure) continue to assert those still fail on the first attempt.
TestToolchainCustomCommands_InstallAllTools/Install_tofu<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
feat(ci): migrate demo-localstack to Floci (rename to demo-floci) @osterman
<details> <summary>feat(ci): migrate demo-localstack to Floci (rename to demo-floci) @osterman (#2599)</summary>
floci/floci:1.5.23, pinned) for the AWS-emulator demoexamples/demo-localstack → examples/demo-floci, and the CI job [localstack] demo-localstack → [floci] demo-flocistacks/mixins/floci.yaml), YAML anchor (&floci_url), auth identity (floci-superuser), custom commands (atmos floci up|down|restart|reset|status), compose service/containervendor-globs test from this demo: it vendors **/demo-localstack/* from origin/main at test time, so a rename would break it in this PR (main has no demo-floci yet) and on every unmerged branch afterward. It now targets examples/demo-helmfile (identical root file set), keeping it green before and after mergeSERVICES, DEBUG, docker.sock mount, 4510-4559 port range — this demo only touches STS/IAM/S3)LocalStack EOL'd Community Edition: the OSS repo was archived in March 2026, the unified image now requires an account + auth token, and hosted infrastructure is being dismantled — the localhost.localstack.cloud DNS breakage fixed in #2598 was collateral from that wind-down. Staying on the unpatched 2023-era localstack:1.4.0 image means depending on a dead project whose vendor is actively turning things off.
Floci is the community's drop-in replacement (MIT, no auth token, same 4566 edge port and credential pattern) and is already used by the Terraform DAG scheduler integration tests (tests/terraform_floci_dag_test.go).
[localstack] demo-localstack is a required status check on main. Merge order:
main: [localstack] demo-localstack → [floci] demo-flocimain (which they already need for the #2598 DNS fix)atmos test (validate + plan/apply/destroy × 3 stacks) passed against floci/floci:1.5.23 under podmanvendor-globs CLI test executed for real against remote main (not skipped) with the new demo-helmfile glob — passed<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
CI
Tests
Chores
<details> <summary>feat(testing): add pact consumer contracts for Atmos Pro API @goruha (#2588)</summary>
pkg/pro/github.com/pact-foundation/pact-go/v2 as a dev dependencypacts/atmos-AtmosPro.json — the consumer contract file checked into version control.specify/, specs/) and related Claude skillsAtmosProAPIClient against a pact mock server, so any change to request/response shapes in pkg/pro/ is caught locally before it reaches the live Atmos Pro API//go:build pact and never run in the standard go test ./... suite, keeping the default CI pipeline unaffectedpacts/atmos-AtmosPro.json into version control makes API surface drift visible in PR diffsUploadAffectedStacks, LockStack, UnlockStack, ExchangeOIDCToken, GetGitHubOIDCToken, UploadInstances, UploadInstanceStatus, CreateCommit</details>
<details> <summary>fix(ci): use localhost endpoints in LocalStack demo to avoid DNS hangs @osterman (#2598)</summary>
demo-localstack example's AWS provider endpoints from https://localhost.localstack.cloud:4566 to http://localhost:4566s3_use_path_style: true so S3 operations don't depend on wildcard *.localhost.localstack.cloud DNS/TLSskip_requesting_account_id: true so provider configure doesn't block on identity lookupsThe [localstack] demo-localstack CI job started hanging until the 20-minute timeout across all branches beginning 2026-06-10 ~02:18 UTC, with no corresponding code change (identical commits both passed and failed; the LocalStack image is pinned at 1.4.0 with the same build hash in green and red runs).
Root cause: localhost.localstack.cloud is a public DNS record hosted by LocalStack that resolves to 127.0.0.1. After LocalStack EOL'd Community Edition (repo archived March 2026), their DNS zone was restructured on 2026-06-08 18:53 UTC (SOA serial; the record is now a freshly delegated Route53 subzone). GitHub's Azure runners began intermittently failing to resolve the name ~31h later as resolver caches expired. The Terraform AWS provider treats DNS failure as retryable and backs off past the job timeout — hanging silently before its first API call.
Evidence:
terraform workspace new dev-demo, before the provider's first API call. The LocalStack container log shows exactly one completed request (sts.GetSessionToken => 200 — issued by atmos auth, which uses http://localhost:4566 and always succeeds). The provider's first call via localhost.localstack.cloud never arrives.osterman/fix-post-merge-sha, a run with the old endpoints timed out at 13:43 UTC; the identical change in this PR passed at 13:53 UTC (run 27281214186).Extending the timeout would not help — the provider's retry backoff exceeds any reasonable limit when DNS is failing.
[localstack] job timeout<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(exec): preserve empty lists as empty (not null) in YAML function processing @AleksandrMatveev (#2603)</summary>
attributes: []) being written as null in the generated *.terraform.tfvars.json.[]any branch of processNodesWithContext now seeds its accumulator with make([]any, 0, len(v)) instead of a nil slice, so empty lists stay empty (non-nil).TestProcessNodesPreservesEmptyLists) covering top-level, nested, and !unset-emptied lists, asserting they remain non-nil and serialize to JSON [] rather than null.[] in YAML (so atmos describe looked correct) but marshals to null in JSON, so the generated tfvars contained "attributes": null.Error: Invalid function argument
while calling concat(seqs...)
Invalid value for "seqs" parameter: argument must not be null.
!unset YAML function was added: the slice branch was changed from index-assignment into a pre-sized slice to append onto a nil slice, to support dropping items. Bisected to commit 28678366. The fix keeps the !unset skip semantics while restoring non-nil empty-list behavior.Minimal repro — stack var empty_list: []:
| before | after | |
|---|---|---|
empty_list in generated tfvars |
null |
[] |
| non-empty lists | preserved | preserved |
!unset YAML function feature (commit 28678366)<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
<details> <summary>Fix optional toolchain signature 404 handling @osterman (#2601)</summary>
signatures: when_available instead of failing installs.terraform-linters/tflint, where gh attestation verify can return HTTP 404 because no attestation exists even though checksum verification can pass.signatures: required.terraform-linters/tflint install on Atmos 1.220.0 where gh attestation verify returned HTTP 404 for missing attestations.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
<details>
<summary>fix(ansible): forward -- <args> passthrough to ansible-playbook @mtb-xt (#2594)</summary>
atmos ansible playbook <component> -s <stack> -- <ansible-args> failing with a misleading Unknown command \<component>`` error.playbookCmd now uses a separator-aware argument validator instead of cobra.ExactArgs(1): it requires exactly one positional component, counting only the arguments before a -- separator.-- passthrough path.cobra.ExactArgs(1) counts every positional argument, including the ansible-playbook passthrough tokens captured after --. Any invocation using -- (e.g. -- --check, -- --tags web, -- --limit host) therefore tripped argument validation with 2+ "positional" args, and the root UsageFunc rendered that failure as an Unknown command error naming the component.ansible-playbook flags, even though the command help documents [options] and points at the ansible-playbook CLI docs, and the executor (buildCommandArgs) already appends info.AdditionalArgsAndFlags to the command.cobra.ArgsLenAtDash() returns -1 when no -- is present, so the validator still checks the full slice for the common case and keeps the original "exactly one component" contract.$ atmos ansible playbook myapp -s prod -- --check
Error: Unknown command `myapp` for `atmos ansible playbook`
$ atmos ansible playbook myapp -s prod --dry-run -- --check
ansible-playbook --extra-vars @/.../prod-myapp.ansible.vars.yaml -i inventory/hosts.yml --check playbook.yml
atmos ansible playbook (verified on v1.220.0).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
-- verbatim to the underlying playbook command; positional validation ignores these passthrough args.Bug Fixes
-- and return clear validation errors when missing or duplicated.Tests
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
…and tool-install steps, approval gate, optional vulnerability scan, and cross-account sharing.
<details> <summary>feat: describe affected evaluates all provisioned component sections @osterman (#2573)</summary>
atmos describe affected so it detects changes in every provisioned component section, not just vars/env/settings/metadata/source/provision.providers, required_providers (provider versions), required_version, hooks, generate, backend, backend_type, remote_state_backend, remote_state_backend_type, auth, command, and dependencies — including scalar sections (previously only map sections were compared).describe.affected.sections setting in atmos.yaml that fully replaces the evaluated set (e.g. to track a custom section or narrow the list); metadata/settings are always evaluated.providers, hooks, provider versions, backend, etc. were silently missed — a false negative that could let CI pipelines skip components that genuinely changed.stack_processor_merge.go, and the new config setting gives users an escape hatch so the bug class can't quietly return.locals, overrides, inheritance, and retry are intentionally excluded (they either fold into other sections or are execution-time only).describe.affected.sections<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
Chores
<details> <summary>feat(hooks): terraform init lifecycle hooks + --skip-hooks before-* fix @osterman (#2574)</summary>
--skip-hooks for before- hooks.* Previously it only skipped after-* hooks; before-terraform-plan/apply/deploy hooks ran regardless. Now --skip-hooks (skip all) and --skip-hooks=name1,name2 (skip by name) are honored symmetrically for before and after events.before-terraform-init and after-terraform-init lifecycle hooks for the atmos terraform init command. after-terraform-init is new; before-terraform-init was documented but never dispatched to user hooks — now it fires. They run through the same runHooks/RunAll path, so the skip fix applies to them too.viper.Set), strengthen hook-inheritance coverage with a fixture proving top-level terraform.hooks: is inherited by every component (and components.terraform.hooks: is not), update the Hooks docs, blog post, and roadmap.--skip-hooks is a global flag bound to Viper inside RunE, but before-* hooks run earlier in PreRunE — so viper.GetString("skip-hooks") never saw the CLI value and before-hooks fired anyway. The flag is now resolved directly from the parsed command (Viper/ATMOS_SKIP_HOOKS fallback), mirroring how --ci and --verbose are read in PreRunE.init.go wired no hooks and the BeforeTerraformInit event was never dispatched. Wiring PreRunE/PostRunE on the init command (like plan/apply/deploy) closes the lifecycle gap so teams can validate tooling, vendor sources, or notify systems around terraform init declaratively.viper.Set with a nil command, sidestepping the exact flag-binding lifecycle that was broken — which is how the bug shipped; the new tests fail against the old implementation./stacks/hooksbefore-/after-terraform-init fire on the explicit atmos terraform init, not the implicit init that plan/apply run.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<details> <summary>feat(auth): share single OIDC session across aws/iam-identity-center providers @Benbentwo (#2553)</summary>
aws/iam-identity-center (AWS SSO) provider so that multiple providers pointing at the same SSO portal (identical start_url + region) share a single OIDC token — one browser flow now unlocks every provider instead of one flow per provider.ssooidc:CreateToken with grant_type=refresh_token, so a single browser interaction holds for the full portal session (~8h) rather than re-prompting every hour.sessionTokenStore (keyed by sha1(start_url|region)) with per-session mutexes that single-flight concurrent device-auth flows; re-keys the on-disk cache from aws-sso/<provider>/token.json to aws-sso/sessions/<sha1>.json in the AWS SDK ssocreds-compatible format.docs/prd/aws-sso-session-support.md), a changelog blog post, and a shipped roadmap milestone under the Unified Authentication initiative.atmos auth login launched the browser flow once per provider, contradicting AWS's own "credentials have been shared successfully" single-sign-in experience.atmos.yaml config changes.docs/prd/aws-sso-session-support.mdssocreds: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/credentials/ssocreds<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
<details> <summary>feat: implement !append YAML function for list concatenation @osterman (#1513)</summary>
!append YAML function that allows fine-grained control over list merging behavior in Atmos stack configurations!append will be concatenated with base values instead of replaceddepends_on where appending is often the desired behavior rather than replacement!append tag provides opt-in, per-field control that works alongside the global list_merge_strategy setting!append use append mode!append tag works independently of the global list_merge_strategy setting# base.yaml
components:
terraform:
eks:
settings:
depends_on:
- vpc
- iam-role
# override.yaml
components:
terraform:
eks:
settings:
depends_on: !append # This tag indicates append mode
- rds
- elasticache
# Result: depends_on = [vpc, iam-role, rds, elasticache]
!append YAML functionappend-yaml-function; roadmap milestone updated (Extensibility initiative)<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
</details>
<details> <summary>feat: add !unset YAML function to delete keys from configuration @osterman (#1521)</summary>
!unset YAML function that completely removes keys from configuration during inheritance and mergingyaml_func_utils.go) and config loading (process_yaml.go)nullnull, !unset completely removes the key from configuration# parent.yaml
components:
terraform:
vpc:
vars:
enable_nat_gateway: true
enable_vpn_gateway: true
# child.yaml
import:
- parent
components:
terraform:
vpc:
vars:
enable_vpn_gateway: !unset # Completely removes this key
config:
database:
host: "prod.db.example.com"
backup_enabled: true
# Override:
config:
database:
backup_enabled: !unset # Remove backup config
host: "dev.db.example.com"
All tests pass:
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat(imports): cache remote stack-import clones (dedup + opt-in TTL) @osterman (#2571)</summary>
describe affected passes).ttl to reuse the cloned source across runs until it expires: per-import (ttl: in the import map form) and a global imports.ttl default in atmos.yaml. With no ttl, the source refreshes once per run so mutable refs like ?ref=main stay fresh.ensureSourceDir, add per-session fetch tracking + TTL freshness (timestamp persisted in the .atmos-source-ready marker), and extract a shared duration.IsExpired/IsZeroTTL that the source provisioner now reuses.stacks/imports.mdx, add a changelog blog post, and add a roadmap milestone.atmos describe affected was re-cloning the hub repo once per import (~68–87×/run, ~7–11 min total), and a warm actions/cache of ~/.cache/atmos/stack-imports/ was ignored because the subdir path re-cloned unconditionally.ttl lets CI reuse the clone across runs (warm cache skips the clone entirely) while keeping mutable refs fresh by default. Shallow clones (depth=1) were already in use — the win is not re-cloning the same repo repeatedly.~/.cache/atmos/stack-imports/, honoring XDG_CACHE_HOME).pkg/duration, pkg/provisioner/source).website/blog/2026-06-05-faster-remote-stack-imports.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
ttl and global imports.ttl for optional cross-run caching of remote stack imports.Documentation
Tests
<details> <summary>[codex] consolidate terraform bulk execution on scheduler @shirkevich (#2466)</summary>
--all, --components, and --query through the scheduler-backed Terraform adapterdependencies.components first, with settings.depends_on fallback--identity terraform testing works1 for this PRThis PR is stacked on PR 2 and targets codex/dag-scheduler-core.
PR 4 is #2468 and is stacked on this branch to introduce plan-only --max-concurrency wiring.
Supersedes the earlier fork-headed draft #2462 now that the stack branches exist in cloudposse/atmos.
This branch is back to the intended PR 3 review shape: Terraform --all, --components, and --query share the graph-backed scheduler path, but execution remains sequential.
The temporary ATMOS_EXPERIMENTAL_DAG_MAX_CONCURRENCY validation hook has been removed. User-visible plan concurrency now belongs to PR 4.
This branch retains the narrow credential-store concurrency-safety prerequisite discovered during validation:
ATMOS_KEYRING_TYPE precedencego test ./pkg/scheduler ./pkg/scheduler/adapters ./internal/exec -run TestExecuteTerraformQuery|TestExecuteTerraformQueryNoMatches|TestBuildTerraformDependencyGraph|TestExecuteTerraformAllUsesGraphBackedSequentialOrder|TestExecuteTerraformComponentsUsesGraphBackedSequentialOrder|TestExecuteTerraformQueryUsesGraphBackedSequentialOrder|TestExecuteTerraformKeepsIndependentComponentsSequential|TestBuildTerraformGraphgo test ./pkg/auth/credentialsgo test -race ./pkg/auth/credentials -run TestNewCredentialStoreWithConfig_ConcurrentInitializationgo test ./pkg/auth ./internal/exec -run TestCreateAndAuthenticateManagerWithAtmosConfig|TestSetupTerraformAuth|TestProcessComponentConfig_PropagatesAuthManager|TestProcessComponentConfig_AuthManagerGuardBranchesbuild/atmos and live-tested against a downstream stack with terraform plan --all and an explicit identityviper.BindEnv, causing fatal error: concurrent map writes. This PR fixes that narrowly in pkg/auth/credentials.The longer-term way to unlock true parallelism for aliases sharing one physical Terraform folder would be per-node isolated workdirs plus isolated TF_DATA_DIR and generated files. That needs repo-owner discussion because it changes the operator debugging model: Atmos would need to decide whether and how to retain those per-node copies for inspection, how atmos terraform shell maps to them, and how cleanup/debug artifacts are managed.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
<details> <summary>feat: install Atmos from a branch or tag with --use-version=ref:<name> @osterman (#2569)</summary>
ref:<name> version spec to --use-version (and version.use in atmos.yaml / ATMOS_USE_VERSION) that installs Atmos from the latest commit of a branch or tag, e.g. atmos --use-version=ref:main version.ref:main, ref:release/v1.199, ref:v1.199.0, ref:heads/main, ref:tags/v1.199.0.sha: install/cache path unchanged; ref versions always re-execute and fail hard on resolution errors.version/use.mdx), a minor blog post, and a roadmap milestone.--use-version only accepted PR numbers (pr:1234), commit SHAs (sha:ceb7526), and releases — a branch name like main was rejected, even though branch/tag pushes already publish the same build-artifacts-* from the Tests workflow.ref: lets you pin a moving target once (ref:main) instead of chasing a new sha: after every merge, making it trivial to test unreleased fixes on a branch.head_sha filter, which only matches full (not short) SHAs.website/blog/2026-06-04-use-version-ref.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Behavior Changes
Bug Fixes
Documentation
<details> <summary>feat: Add custom component types for custom commands @osterman (#1904)</summary>
pkg/component/custom)This feature enables custom commands to provide superior developer experience through:
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
<details> <summary>docs(gists): add Atmos + Packer + GitHub Actions AMI pipeline gist @aknysh (#2560)</summary>
gists/aws-ami-packer-github-actions/ demonstrating an end-to-end AWS AMI pipeline with Atmos + Packer + GitHub Actions:
ScanStatus=approved and share it across AWS accounts.atmos ami custom commands (get-ami-id, tag, share, launch/terminate test instances, …).gists/aws-ami-packer-github-actions/website/blog/2026-06-01-gist-aws-ami-packer-github-actions.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
<details> <summary>feat: add !git.* repository YAML functions and atmos.Resolve template func @osterman (#2558)</summary>
!git.* YAML functions that expose Git repository metadata from the origin remote: !git.repository (the <owner>/<repo> slug, e.g. cloudposse/atmos), !git.owner, !git.name, !git.host, and !git.url.atmos.Resolve template function, which evaluates any Atmos YAML-function string (!git.*, !exec, !store, !terraform.output, …) at template-render time so its result can be composed with other strings and template variables in a single value.atmos.yaml config preprocessing.!exec echo ${GITHUB_REPOSITORY:-$(git remote get-url origin | sed …)}.workspace_key_prefix with the repo slug) was impossible without !exec; atmos.Resolve makes that composition native:workspace_key_prefix: '{{ atmos.Resolve .settings.context.repo }}/{{ or .metadata.name .metadata.component }}'
/functions/yaml/git.repository, /functions/template/atmos.Resolve.docs/prd/lazy-yaml-function-template-values.md (lazy-Stringer auto-deref so {{ .settings.context.repo }} evaluates without atmos.Resolve).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Tests
Chores
<details> <summary>feat(stacks): template variables in import paths from earlier imports @osterman (#2554)</summary>
import: paths (local paths and a remote import's Git ?ref=) against the settings/vars/env accumulated from imports listed earlier in the same manifest, plus the import's own context.settings.context.deployment_repo_version, set once in a _defaults) can now pin both a remote catalog import's ref and the component source.version.ignore_missing_template_values is set; skip_templates_processing or a disabled templating engine leaves the path literal.ErrImportPathTemplate sentinel, a fixture scenario + unit tests, docs ("Referencing Earlier Imports in Import Paths"), a changelog blog post, and a roadmap milestone.dev and prod in one repo while isolating prod from dev changes: dev uses local catalogs/sources, prod imports a versioned catalog and pins the component source to an immutable ref — both driven by one variable.source.version template worked (resolved late, at component processing) but the import ?ref= had to be hard-coded, because imports are resolved before that context exists. This closes that gap so both come from the same variable./stacks/imports#referencing-earlier-imports-in-import-paths<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Documentation
<details>
<summary>Add ECR Public authentication: aws/ecr-public integration and atmos aws ecr login --public @osterman (#2231)</summary>
Add ECR Public authentication to Atmos for authenticated access to public.ecr.aws, solving Docker rate limiting on public ECR images. Two entry points:
atmos aws ecr login --public — direct, zero-config login using ambient AWS credentials (the AWS SDK default chain: env, shared config/profile, SSO, IMDS/IRSA/ECS), or --public --identity <name> to use a specific identity. Ideal for CI.aws/ecr-public integration kind — for automatic login on atmos auth login and identity linking.Key changes:
cmd/aws/ecr/login.go): new --public flag on atmos aws ecr login; ambient-credential and identity-based ECR Public login paths; mutually exclusive with a positional integration argument and --registry.pkg/auth/cloud/aws/ecr_public.go): GetPublicAuthorizationToken() calls ecrpublic:GetAuthorizationToken, always in us-east-1.pkg/auth/integrations/aws/ecr_public.go): ECRPublicIntegration factory registering the aws/ecr-public kind, with region validation at config time. Implements the full Integration interface including Cleanup() (docker logout) and Environment() (DOCKER_CONFIG).--public flag and mode validation.atmos aws ecr login command reference (added --public flag), ECR authentication tutorial, and a PRD (docs/prd/ecr-public-authentication.md).Note: this branch has been merged up to
main. Following #2144 (atmos auth ecr-login→atmos aws ecr login), ECR login lives under theawsnamespace, and the integration was adapted tomain's evolvedIntegrationinterface (exportedBuildAWSConfigFromCreds, newCleanup/Environmentmethods).
Docker pulls from public.ecr.aws hit rate limits when unauthenticated. This blocks CI workflows, especially those using cloudposse/github-action-docker-build-push which pulls BuildKit/binfmt images on every run. Authenticated pulls have significantly higher (or no) rate limits.
Because public.ecr.aws is global, any valid AWS credentials unlock authenticated pulls — so --public with ambient credentials "just works" in CI with zero configuration. ECR Public otherwise differs from private ECR: it uses the ecrpublic SDK service, a bearer token instead of SigV4, a hardcoded us-east-1 auth region, and a fixed public.ecr.aws registry URL. It requires ecr-public:GetAuthorizationToken and sts:GetServiceBearerToken IAM permissions.
atmos aws ecr login Command Reference — command usage, --public flag, integration configuration.docs/prd/ecr-public-authentication.md.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Bug Fixes
Tests
Chores
<details> <summary>feat(auth): Atmos Pro STS — JIT GitHub token broker for CI @osterman (#2546)</summary>
kind: atmos/pro that authenticates the Atmos CLI to Atmos Pro by federating the GitHub Actions runner's OIDC token into an Atmos Pro session JWT (v1 is OIDC-only).kind: github/sts — a just-in-time GitHub token broker for CI. On login it mints short-lived, scoped GitHub App installation tokens via POST /api/v1/sts, materializes them as per-owner GIT_CONFIG_* URL rewrites (env or file mode), and revokes them at command-end (via atmos auth exec in CI) and on atmos auth logout.kind: atmos/pro identity, a keyring-registered ProCredentials type, realm scoping for integration state, and via.provider binding for integrations (in addition to via.identity).ATMOS_PRO_GITHUB_TOKEN, preferred by Atmos-native git operations (vendoring, source: provisioning, go-getter) ahead of ATMOS_GITHUB_TOKEN/GITHUB_TOKEN.docs/prd/atmos-pro-sts.md), a changelog blog post, a shipped roadmap milestone, and configuration docs; full unit-test coverage for the provider, identity, integration, keyring round-trip, via.provider matching, revoke gating, and token precedence.source: components, and vendored artifacts in CI today requires a long-lived, over-privileged GitHub credential (PAT, machine user, or deploy key) sitting in a CI secret — a standing breach risk that can't be scoped per-run..tf changes (the injected GIT_CONFIG_* rewrites are honored by both go-getter and Terraform's native git), and multi-org support because tokens are minted per (installation, permission-set).aws/ecr/aws/eks integrations; the workflow only needs permissions: id-token: write.docs/prd/atmos-pro-sts.md (includes deferred Future Work: moving Pro connection config under auth, unifying pkg/pro onto auth-issued sessions, and broadening command-end revoke beyond atmos auth exec)website/blog/2026-05-29-atmos-pro-github-sts.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
<details> <summary>docs: re-date custom commands step types blog post to 2026-05-30 @osterman (#2550)</summary>
2026-01-03 to 2026-05-30.git mv, history preserved) and added a matching date: 2026-05-30 frontmatter field.date: field to match the repo convention (e.g. 2026-05-28-git-yaml-functions.mdx).slug is unchanged, so the published URL stays the same.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(website): use consistent brand-blue announcement bar @osterman (#2551)</summary>
backgroundColor/textColor overrides from website/src/data/announcements.js so every announcement bar entry inherits the brand-blue (#3578e5) / white-text defaults from the --announcement-bar-* CSS variables.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>feat: Implement workflow step types with registry pattern (DEV-263, DEV-2969) @osterman (#1899)</summary>
{{ .steps.step1.value }})Addresses DEV-263 (add input type to workflows) and DEV-2969 (add viewport support). Enables users to build complex multi-step workflows with user interaction, conditional execution, and flexible result display.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Documentation
Bug Fixes
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>Add process and I/O execution foundation @shirkevich (#2464)</summary>
This is PR 1 for the DAG concurrent execution rollout. It introduces the reusable process and stream-isolation foundation without enabling scheduler behavior or changing Terraform bulk routing.
Changes:
pkg/process with Runner, TaskSpec, Streams, Result, default os/exec runner, context-aware execution, cancellation reporting, and exit-code preservation.pkg/io with prefixed per-node stream composition for terminal, file, and capture sinks.internal/exec.ExecuteShellCommand() into a backward-compatible wrapper over pkg/process while preserving CI stdout/stderr capture options.runTerraformShow() global os.Stdout swap with injected stdout capture.No scheduler, CLI routing consolidation, concurrency flags, or Terraform adapter behavior is enabled in this PR.
This PR is the bottom of the DAG rollout stack and targets main.
Supersedes the earlier fork-headed draft #2459 now that the stack branches exist in cloudposse/atmos.
rtk env GOCACHE=/private/tmp/atmos-gocache GOMODCACHE=/private/tmp/atmos-gomodcache go test ./pkg/process ./pkg/io ./internal/exec ./cmd/terraform
PR 2 branches from codex/dag-process-io-foundation and adds the generic pkg/scheduler core with ready-queue scheduling, bounded workers, deterministic aggregate results, and isolated unit tests only.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>Add core git YAML functions @osterman (#2537)</summary>
!git.root, !git.sha, !git.branch, and !git.ref.pkg/git, with pkg/utils limited to compatibility shims and YAML tag registration.!git.ref.pkg/utils by placing Git behavior in the self-contained Git package.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Refactor
Tests
Documentation
<!-- review_stack_entry_start -->
<!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> </details>
<details> <summary>fix(stacks): honor component list_merge_strategy in metadata.inherits… @JaseKoonce (#2565)</summary>
settings.list_merge_strategy set on a component now applies when merging lists via metadata.inherits
Adds tests covering append, replace, and merge strategies across single and multi-level inheritance chains
Component-level list_merge_strategy was only honored on the import/stack merge path (fixed in #2480). The metadata.inherits resolution path always used the global atmosConfig, so per-component overrides were silently ignored
A component with list_merge_strategy: append inheriting two bases would get last-wins ([from_b]) instead of the expected accumulated result ([from_a, from_b])
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Improvements
Tests
<details> <summary>fix(auth): unwrap Atmos Pro envelope in github/sts mint @osterman (#2568)</summary>
github/sts auth integration ignoring a successfully minted Atmos Pro STS token because mint() decoded the response with a flat struct instead of the canonical API envelope.dtos.Envelope[T] + pro.DecodeEnvelope[T] — and route mint() through it so every Atmos Pro response unwraps the nested data payload through one sanctioned path.mint() persists 1 token, not 0, plus decoder unit tests including a canary that a flat payload decodes to empty data.{ "success": true, "status": 200, "data": { "tokens": [...], "excluded": [...] } }, but mint() decoded straight into the flat stsResponse (top-level tokens), so it always read 0 tokens — the CLI logged GitHub STS: no tokens granted, never wrote the git insteadOf config, and cross-repo import: calls fell back to the ambient GITHUB_TOKEN and failed with remote: Repository not found, even though the server had minted a valid token (HTTP 200, so no error surfaced).{tokens,excluded} shape the real server never sends; matching the fixture to the real envelope and adding the regression/canary tests prevents this whole class of "decoded a Pro response without the envelope" bug from recurring.mint() was the only Pro call bypassing the shared AtmosApiResponse envelope that ExchangeOIDCToken / LockStack already use.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
source is misplaced under metadata and accept simple-form source strings.New Features
Tests
Documentation
source.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details><details> <summary>fix(pro): respect metadata.enabled when uploading instances for drift @osterman (#2563)</summary>
atmos list instances --upload now collapses the Atmos Pro enabled hierarchy (metadata.enabled > settings.pro.enabled > settings.pro.drift_detection.enabled) before uploading, so the values Atmos Pro persists already reflect any outer disable.effectiveEnabledState helper is the single source of truth for both the upload payload (extractProSettings) and the success-toast counts, so they can no longer diverge.pro.enabled: false) rather than omitted, so Atmos Pro shows them disabled instead of orphaning them.settings/pro.mdx gains a settings.pro.enabled entry + precedence note; list/list-instances.mdx drops the now-false "preserved verbatim" / "drift is independent of pro.enabled" claims), plus a docs/fixes/ write-up.metadata.enabled: false kept failing scheduled drift detection (dispatchError: "missing_plan_result", drift_status: error): the CLI skips planning them, but the upload serialized the raw settings.pro block and never sent metadata.enabled, so Atmos Pro (whose ingestion contract has no metadata field) persisted them as enabled:true, drift_enabled:true and legitimately dispatched drift.error rows self-heal to disabled on the next upload, with no data migration.pro.enabled defaults to true (matching the Pro server-side default) so the collapse only ever turns things off when an outer level is explicitly disabled — it never regresses default-enabled components.docs/fixes/2026-06-03-drift-dispatch-ignores-metadata-enabled.md (root-cause analysis, Neon instances evidence, verification steps)internal/exec/component_utils.go (isComponentEnabled)<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Documentation
Tests
<details> <summary>fix(auth): deduplicate ECR, ECR Public, and EKS integrations to once per process @MrZablah (#2564)</summary>
Adds a process-level execution cache to triggerIntegrations so that
auto-provisioned integrations (aws/ecr, aws/ecr-public, aws/eks)
fire at most once per atmos invocation, regardless of how many times
Authenticate is called or how many AuthManager instances are created.
The cache key is the integration's canonical target endpoint rather than its config entry name:
aws/ecr → "aws/ecr:<account_id>:<region>"aws/ecr-public → "aws/ecr-public" (single global registry)aws/eks → "aws/eks:<cluster_name>:<region>"This means two config entries that point at the same registry — e.g. one
from global atmos.yaml and one from a component stack file — are
collapsed to a single execution.
atmos terraform plan calls Authenticate from at least three internal
paths: setupTerraformAuth, TerraformPreHook, and one call per YAML
function (!store.get, !terraform.state). With a 6-tool .tool-versions
this produced 6 ECR logins per command. Switching to a name-keyed cache
reduced it to 2 because merged configs can carry two integration entries
with different names for the same registry. Keying by target endpoint
reduces this to exactly 1.
pkg/auth/manager_integrations.go — adds processIntegrationCache sync.Map, resetProcessIntegrationCache() (test helper),
integrationTargetKey() (canonical key helper covering aws/ecr,
aws/ecr-public, aws/eks); updates triggerIntegrations to use
LoadOrStore on the target key.pkg/auth/manager_integrations_test.go — adds
TestIntegrationTargetKey (table-driven tests for all key variants
including ECR Public) and TestIntegrationTargetKey_Deduplication
(verifies that two same-registry entries produce one cache hit).aws/ecr-public was added to upstream/main in #2231 after this branch
diverged; coverage for it was added here to keep deduplication consistent
across all three AWS integration kinds.
ECR / ECR Public Login Executes Multiple Times Per atmos terraform Invocation #2562
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
<details> <summary>fix(auth): make github/sts compose with default GitHub token injection @osterman (#2557)</summary>
github/sts-minted GitHub tokens: CustomGitDetector now skips URL token injection when a live GIT_CONFIG_* insteadOf rewrite already matches the URL's host/owner, so git's rewrite (carrying the correct least-privilege token) wins.ATMOS_PRO_GITHUB_TOKEN bridge consistent: resolveToken falls back to the live env var (which the broker sets after startup), mirroring pkg/http/client.go.token_env to ATMOS_PRO_GITHUB_TOKEN (was empty) so a single-owner mint reaches gh/REST and Atmos's in-process git path automatically.{owner} placeholder with Atmos's standard Go-template syntax ({{ .owner }}, plus .host); update docs, PRD, and add a docs/fixes/ write-up.import: from a second private repo failed with remote: Repository not found — the minted token was correct, but the ambient GITHUB_TOKEN was being injected into the URL ahead of it, defeating git's insteadOf rewrite. The only fix was the settings.inject_github_token: false workaround.github/sts (introduced in #2546) compose with the default settings.inject_github_token: true, so it "just works" with no workaround. Reproduced first with a simulated-broker e2e test, then fixed.github/sts feature shipped in #2546docs/fixes/2026-06-01-github-sts-token-injection-shadowing.md (root cause, fix, and why this is a fix doc rather than a changelog entry)docs/prd/atmos-pro-sts.md<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
New Features
Documentation
Tests
Chores
<details> <summary>fix(auth): report missing exec binary instead of "atmos requires a subcommand" @osterman (#2559)</summary>
atmos auth exec -- <command> reporting the misleading "The command atmos requires a subcommand" when the executable after -- (e.g. uvx) is not found on PATH.127.ErrUnknownSubcommand sentinel, and the root handler intercepts that (via a new testable unknownSubcommand helper) instead of the overloaded ErrCommandNotFound.auth exec and the registry executor both wrapped the shared ErrCommandNotFound sentinel, so a missing user binary was indistinguishable from an unknown Atmos subcommand and got masked as root usage output — hiding the real cause.pkg/hooks command lookups.atmos auth → command-registry migration (#1919) combined with the registry executor's Cobra-error conversion (#1643).<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Bug Fixes
Tests
Documentation
<details> <summary>fix: allow --use-version artifact downloads without GitHub token @osterman (#2212)</summary>
--use-version flagGetGitHubTokenOrError() gate with optional GetGitHubToken() in InstallFromPR() and InstallFromSHA()Authorization header when token is unavailable in downloadPRArtifact()buildDownloadHTTPError() to distinguish auth failures from rate limitingatmos --use-version=2129 fails with "authentication failed" when no GITHUB_TOKEN is set<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Tests
Documentation
<details> <summary>fix(version): honor ATMOS_USE_VERSION env var for version re-exec @osterman (#2556)</summary>
ATMOS_USE_VERSION environment variable so Atmos actually switches to (and downloads, if needed) the requested version during early re-exec.resolveRequestedVersion now reads ATMOS_USE_VERSION, with precedence ATMOS_VERSION_USE > ATMOS_USE_VERSION > ATMOS_VERSION > version.use.cmd/root.go also honors ATMOS_USE_VERSION from the environment so version-management commands (e.g. atmos version) re-exec on it just like the --use-version flag.ATMOS_USE_VERSION is advertised as the primary env var (docs at website/docs/cli/environment-variables.mdx and the flag binding WithEnvVars("use-version", "ATMOS_USE_VERSION")), but the re-exec resolver never read it — it only checked the internal ATMOS_VERSION_USE (set solely by the CLI flag), the ATMOS_VERSION alias, and version.use config.Changed() and maps to viper key use-version rather than version.use, so ATMOS_USE_VERSION fell through every code path — setting it was a complete no-op.ATMOS_USE_VERSION was set for atmos describe affected --upload but Atmos ran the already-installed version instead of switching. This brings the code in line with the existing documentation.website/docs/cli/environment-variables.mdx<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
Chores
<details> <summary>fix(auth): honor keyring.type config and send DPoP proof on AWS webflow @osterman (#2545)</summary>
auth.keyring.type from atmos.yaml across all auth-manager entrypoints by threading authConfig into credentials.NewCredentialStoreWithConfig(...) (was silently dropped via the no-arg NewCredentialStore()), and inject the manager's config-aware store into AWS user identities via a new optional SetCredentialStore interface.AuthManager.CredentialStoreType() for observability/testability, mark the no-arg NewCredentialStore() constructor Deprecated, and add unit tests for both fixes (keyring backend selection, DPoP proof structure/signature, key round-trip, header presence).auth.keyring.type: memory set, Atmos still selected the default system keyring and hung indefinitely on hosts where the keyring service is present but unusable (e.g. a locked gnome-keyring-daemon). The config value was read and then thrown away before backend selection — only ATMOS_KEYRING_TYPE worked. Now the configured backend is honored everywhere an auth manager is built./v1/token endpoint now rejects requests without a DPoP proof (HTTP 400 INVALID_REQUEST), so browser-based authentication for aws/user identities failed at the code-exchange step. Sending the proof restores the flow; because the public-client refresh token is bound to the DPoP key, the key is persisted and reused on refresh.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Bug Fixes
Improvements
<details> <summary>fix(yaml-functions): honor init.pass_vars when resolving !terraform.output (#1412) @thejrose1984 (#2548)</summary>
When components.terraform.init.pass_vars: true is set, forward the component's vars to the internal terraform init that runs while resolving !terraform.output, via TF_VAR_* environment variables.
ComponentConfig gains PassVars + Vars, populated in ExtractComponentConfig.SetupEnvironment injects TF_VAR_* for each var when PassVars is true (strings verbatim, other types JSON-encoded).Closes #1412.
The main terraform path honors pass_vars by passing -var-file to init (terraform_execute_helpers.go), so modules with init-time variable dependencies (e.g. a module version/source bound to var.aks_version) can initialize. But the init that runs while resolving !terraform.output goes through pkg/terraform/output, which uses the terraform-exec library and never honored pass_vars:
runInit only set Upgrade(false) + optional Reconfigure(true).ComponentConfig had no PassVars/vars plumbing.terraform-exec's initConfig has no var-file field — it structurally cannot pass -var-file to init.So atmos tofu init/plan -s <stack> failed with Unable to compute static value / module.aks.version depends on var.aks_version which is not available whenever an init-time var came from a component resolved via !terraform.output.
terraform-exec can't attach a var-file to init, and an auto-loaded *.auto.tfvars.json on disk would risk cross-stack contamination when components are resolved concurrently. TF_VAR_* is process/runner-scoped, reaches init transparently through the existing SetEnv call, and Terraform/OpenTofu accept these values for the matching variable types (JSON encodings of lists/maps are valid HCL2). Gated behind pass_vars (default false), so it's a no-op unless opted in; an explicit TF_VAR_* in the component env section still wins.
go test ./pkg/terraform/output/...
New tests:
TestDefaultEnvironmentSetup_PassVars — vars exported as TF_VAR_* with correct encoding.TestDefaultEnvironmentSetup_PassVarsDisabled — no TF_VAR_* when pass_vars is off.TestDefaultEnvironmentSetup_PassVarsEnvSectionWins — explicit env-section TF_VAR_* wins.Validation note: verified at the unit level (init env now carries the component vars when
pass_varsis set; previously the init invocation was unchanged whetherpass_varswas on or off). I don't have terraform/tofu in this environment to re-run the reporter's fulltofu init/planend-to-end, so a maintainer check against a real init-time-dependent module would be worthwhile before release.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
New Features
Tests
Documentation
<details> <summary>test(yaml-functions): regression test for mixed state/output circular dependency (#2005) @thejrose1984 (#2547)</summary>
!terraform.state and !terraform.output (component-a → !terraform.state component-b; component-b → !terraform.output component-a).tests/fixtures/scenarios/yaml-functions-circular-deps-mixed.TestYAMLFunctionsCrossComponentCycleMixed.This is the exact scenario from #2005. It was the same root cause as #2457 and was fixed by #2533 (making ProcessCustomYamlTags reuse the goroutine-local ResolutionContext so the Visited map survives nested walks). That fix covers both state↔state and the mixed state↔output path, but only the state↔state case had a regression test — so #2005 could silently regress while the existing test stayed green.
Verified the mixed cycle hangs (infinite recursion / goroutine stack overflow) on the commit before #2533, and returns a clean ErrCircularDependency on current main.
go test ./tests -run TestYAMLFunctionsCrossComponentCycle -v
Both TestYAMLFunctionsCrossComponentCycle (state↔state) and TestYAMLFunctionsCrossComponentCycleMixed (state↔output) pass. The mixed test asserts ErrCircularDependency is returned and that the MaxResolutionDepth safety net is not what fired (which would indicate the primary cycle detector regressed).
</details>
<details> <summary>fix: defer custom-command/built-in collision warning to invocation time @thejrose1984 (#2549)</summary>
Scope is intentionally narrow: change only when the existing collision warning fires — defer it from command-registration time to the moment the conflicting command is actually invoked.
steps are still ignored.override:/invoke: work — that opt-in design is tracked separately in the custom-command-builtin-override PRD.PreRunE in processCustomCommands (preserving any existing PreRunE/PreRun and honoring Cobra's precedence of PreRunE over PreRun).Today the warning (introduced in #2191) is emitted from processCustomCommands, which runs during root init on every Atmos invocation. So a single colliding custom command makes every command — atmos list stacks, atmos terraform ..., etc. — print a warning about, say, a plan collision it never touched. The result is worse than noisy:
version) emits it.Deferring the warning to invocation makes it accurate and actionable: it appears exactly once, only when you run the command the warning is actually about, and stderr stays clean for every other command. Same information, delivered at the moment it's relevant instead of on every unrelated call.
| Invocation | Before | After |
|---|---|---|
atmos list stacks (with a colliding custom plan) |
⚠ warning printed | no warning |
atmos <colliding command> |
⚠ warning printed (and also for every other command) | ⚠ warning printed once, here only |
Note truncated.
Nothing published for this version
Nothing published for this version
One column per quarter.