github cloudposse/atmos v1.235.0-nightly.45519518476

pre-release5 hours ago

📦 Other Changes

test(terraform): add reproducible lifecycle field scenarios @osterman (#3563)
  • Adds reusable disposable Terraform/OpenTofu scenarios covering lifecycle contracts, backend provisioning, provider and module caches, source vendoring, and the documented relative-path workdir limitation. Generated scaffold fixtures are retained so the combined field experiments remain reproducible without storing runtime logs or disposable state.
docs: plan artifact repositories, signatures, and offline workflows @osterman (#3581)
  • Adds the Atmos Artifacts product requirements and implementation plan, covering 14 work packages, shared API and storage contracts, acceptance tests, OCI/S3/local repositories, signing and verification, locks and pins, automation, CI summaries, offline restoration, and migration to oras-go/v2.
fix(terragrunt): harden native errors, imports, and saved plans @osterman (#3582)
  • Hardens native Terragrunt support with structured secret-safe errors, preflight validation for --all, imports and YAML overrides, shared discovery matching, saved-plan handling, source refresh notices, generated-file cleanup, hook behavior, affected-file tracking, and first-use plugin configuration validation.
feat(artifacts): contracts, configuration, and repository registry @osterman (#3588)
  • Defines the Artifacts contracts and configuration, including canonical records, content/intent/record digests, repository and signing interfaces, artifacts.repositories, verification and locking settings, and repository-kind registration. Relative local repository paths are anchored to the declaring configuration file.
feat(artifacts): ORAS transport, shared signing, and artifact service @osterman (#3589)
  • Adds the ORAS-backed OCI transport in pkg/oci, shared signing and verification in pkg/signature, and the artifact service for publishing, pulling, copying, inspecting, listing, searching, deleting, signing, verifying, and pinning artifacts. Also adds file production, deterministic archives, safe extraction, and a reusable repository conformance harness.
feat(artifacts): blob I/O and local directory/archive repositories @osterman (#3590)
  • Adds shared blob I/O in pkg/artifact/blob with local and S3 stores, conditional writes, multipart support, and tags, while preserving existing CI store formats. Introduces local/dir and local/archive repositories with pending/completed publication, file locks, shared record layouts, and detached signature evidence.
feat(artifacts): S3 and OCI artifact repositories @osterman (#3591)
  • Adds the aws/s3, oci/registry, and oci/layout artifact repositories with per-file or archive payloads, conditional reference writes, object tags, paginated listing, owner-claim locks, native OCI graph transfer, tag-safe deletion, plugin-release immutability, and shared Sigstore signing and verification.
feat(artifacts): atmos artifacts commands @osterman (#3592)
  • Adds the atmos artifacts commands publish, pull, copy, inspect, list, search, delete, sign, verify, and show readme|changelog. Repository locks now use each repository's locking.repository delegate, and sign accepts either the resolved digest or Record digest.
feat(artifacts): discovery, catalogs, artifact step, and producers @osterman (#3593)
  • Adds cached and offline artifact discovery, the optional AtmosArtifactCatalog, and atmos artifacts catalog build|publish|add|remove|sync. The new artifact step works in workflows, custom commands, scripts, and kind: step hooks; scaffold and component/terraform producers also support atmos scaffold publish.
feat(terragrunt): support errors, exclude, IAM, and registry sources @osterman (#3598)
  • Adds native Terragrunt support for terraform_binary, errors, exclude, feature flags, lifecycle hooks, IAM settings, remote-state encryption, disable_init, and tfr:// registry sources. It also routes provider imports through the configuration adapter and supports the documented retry, ignore, identity, and toolchain behaviors.
feat(terragrunt): typed flags, Pro support, and executable mode @osterman (#3599)
  • Adds typed Terragrunt provider flags, exact input propagation including big integers, nulls, and masked sensitive(...) values, isolated AWS credential resolution, scoped log rendering, and Atmos Pro support. Experimental mode: executable runs pinned terragrunt run commands under Atmos scheduling; saved plans, stack overrides, and terraform shell are unavailable in that mode.
feat(plugin): deliver Terragrunt log events live @osterman (#3600)
  • Native plugins can now stream Log events during Discover, Prepare, and state calls. Atmos renders masked, scoped entries at the invocation's log level, applies bounded backpressure without dropping events, and reports undelivered entries when logging is unavailable or cancellation interrupts delivery.
chore: bump Claude Code plugin version to v1.234.1 @cloudposse-releaser[bot] (#3664)
  • Bumps the Claude Code plugin to v1.234.1.
fix(ci): render release PR comments as markdown, not a code block @osterman (#3679)
  • Release notification comments are now rendered as flush-left Markdown instead of an indented code block, so hidden markers and release links render correctly.
Add Anthropic OSS Scanner build files @osterman (#3680)
  • Adds .oss-scanner/Dockerfile and .oss-scanner/threat_model.md for Anthropic's OSS Scanner. The build installs a pinned Atmos release, builds Atmos from source with atmos build, and compiles tests to warm the offline audit cache.
refactor: resolve lint debt in config, exec and plugin packages @osterman (#3689)
  • Resolves existing lint findings in configuration, execution, plugin, Helmfile, and script packages, and aligns the custom lint version and no-network allowlist. This is a maintenance-only change with no application behavior, flags, commands, or configuration changes.
test(auth): add regression tests from the Atmos Auth pre-release review @aknysh (#3724)
  • Adds regression coverage for Atmos Auth paths including auth exec, ECR tokens, kubeconfig drift and merging, permission sets, GCP service-account environments, auth list, concurrent identities, SSO polling, Azure device code, and plugin-provider interactions.
refactor(auth): generate the saml2aws mocks with mockgen @aknysh (#3726)
  • Replaces hand-written and mockery/testify test doubles in the vendored SAML package with mockgen-generated mocks and //go:generate directives. Existing expectations are migrated to equivalent Times, AnyTimes, and MinTimes semantics, with stricter call-count, argument, and ordering checks where applicable.
fix(release): evaluate queued stack layers in the milestone gate @aknysh (#3735)
  • The Release milestone gate now evaluates queued PRs targeting stacked branches by looking up merge-queue entries missing from the open-PR list. Open entries receive normal milestone and release-label checks, while closed entries and lookup failures fail closed without changing the existing merged-entry rule.
docs: improve artifacts and Terragrunt discovery @osterman (#3756)
  • Adds an Artifacts capability overview and quick start, moves Vendoring into the Capabilities reference navigation, and updates the Terragrunt changelog to show registry installation and use instead of a development build.

✨ Features

feat(plugin): add native Terragrunt discovery and execution @osterman (#3571)
  • Adds opt-in native Terragrunt discovery, validation, preparation, and state-provider contracts. Discovered local units and nested stacks enter the normal Atmos compiler and list/describe output, while Atmos owns Terraform/OpenTofu execution and dependency scheduling through an independently built Terragrunt plugin.
feat(terragrunt): run hooks, saved plans, and state under native adaptation @osterman (#3576)
  • Extends native Terragrunt support with hook and extra_arguments evaluation, saved-plan validation and --from-plan, state functions, imports, revision-aware affected selection, backend and generated-file ownership, pinned toolchains, inventory columns, installed-package acceptance, and release packaging. New plugin installs use the product name as the default alias.
feat(artifacts): CI summaries, docs, and changelog @osterman (#3594)
  • Adds CI job summaries and output variables for artifact operations through ci.templates.artifacts, with one masked and truncated report per operation. Documents artifact commands, catalogs, the artifact step, kinds, and configuration, and updates CLI snapshots, the changelog, and roadmap.
feat(ci): add native Gitea Actions CI provider @osterman (#3656)
  • Adds the native gitea-actions CI provider, selected by GITEA_ACTIONS=true, with Gitea commit statuses, marker-based PR comments, affected-component detection, runner outputs and summaries, and GitHub-compatible metadata fallbacks. Credentials use ATMOS_CI_GITEA_TOKEN or GITEA_TOKEN; HTTPS is required unless ATMOS_CI_GITEA_ALLOW_INSECURE=true, and GitHub provider/artifact-store auto-selection is disabled for Gitea runs.
feat(starlark): add browser.open for launching URLs from scripts @osterman (#3658)
  • Adds browser.open(url) to the Starlark automation engine for opening absolute HTTP(S) URLs in the system browser. URLs are validated before launch, dry runs and canceled executions do not open anything, and launch failures fail the script with ErrStarlarkProcessFailed.
feat(container): support IP:port host mappings @osterman (#3660)
  • Container port mappings now accept address-and-port values such as host: "127.0.0.1:8080" with container: 3000, including bracketed IPv6 endpoints. Validation and formatting are shared across containers, workflows, services, and emulators; published emulator endpoints retain their selected host addresses and ports.
feat(git): add --ref to atmos git clone for exact commit/tag checkout @osterman (#3661)
  • Adds --ref and ATMOS_GIT_REF to atmos git clone for detached checkout of branches, tags, full refs, or commit SHAs. It overrides configured branches and CI context, supports exact reconciliation of existing clones, conflicts with --branch, and is blocked for elevated fork events unless --allow-unsafe-fork is set.
fix(auth): keep long AWS SSO verification URLs out of the dialog box @osterman (#3667)
  • Long AWS SSO verification URLs now stay outside the authentication dialog box. The new settings.terminal.links, ATMOS_TERMINAL_LINKS, and global --links setting choose auto, osc8, clipboard, or raw delivery, and atmos auth console uses the same delivery behavior when it does not open a browser.
feat(examples): add Backstage self-service infrastructure portal @osterman (#3682)
  • Adds a runnable Backstage self-service infrastructure portal example with native Atmos containers, local Git/AWS emulators, Gitea Actions, TechDocs, themed frontend components, reusable Starlark modules, and an end-to-end flow that scaffolds stacks, opens a PR, plans, provisions a local bucket, and registers the service.
fix(git): retry concurrent push races with backoff and rate limits @osterman (#3687)
  • git push now retries concurrent remote ref-lock races with bounded rebase-and-push backoff. A new git.repositories.<name>.push.retry policy supports attempts, backoff, jitter, elapsed-time budgets, and message conditions, while rate-limit responses honor Retry-After and X-RateLimit-Reset without unnecessary rebasing.
feat(docs): add hooks and policy support to docs generate @osterman (#3716)
  • Adds before.docs.generate and after.docs.generate lifecycle events and docs.generate.<type>.hooks support for command, step, and steps hooks. Hooks receive ATMOS_DOCS_TYPE, ATMOS_DOCS_OUTPUT_PATH, ATMOS_DOCS_BASE_DIR, and template values; --skip-hooks and ATMOS_SKIP_HOOKS are honored, and policies can target the new events.
feat(plugin): bound plugin sign-in separately from the timeout @aknysh (#3747)
  • Native plugin sign-in prompts are rendered as plain text so verification URLs remain intact. plugins.packages.<alias>.interaction_timeout now separately limits interactive user sign-in, defaulting to 15 minutes and capped at 24 hours; the package timeout applies only to plugin work and remains required.
feat(helm): support Kubernetes capability overrides for client-side renders @osterman (#3755)
  • Native Helm components can set kube_version and api_versions for client-side rendering, with matching CLI flags overriding stack settings for template, diff/plan, and external-target delivery. These settings describe offline target-cluster capabilities; installations and upgrades continue to use live capabilities.

🐛 Bug Fixes

refactor(terraform): extract the component provider runtime @osterman (#3561)
  • Moves Terraform lifecycle execution, queries, and artifact generation into the registered component provider while retaining host adapters for shared configuration, authentication, and deferred stack evaluation. Archive inventory validation now rejects unsafe local paths, including Windows drive paths and alternate data streams, on every host.
fix(terraform): preserve state and lifecycle safety @osterman (#3562)
  • Preserves Terraform state, saved plans, generated files, and source ownership across vendoring and initialization, while keeping backend provisioning, caches, authentication opt-outs, and detailed plan exit codes consistent. Source publication and AWS credential transactions use native cross-platform file locks, and provisioning fingerprints now use HMAC-SHA256 with a process-local secret so credential rotation invalidates reuse without persisting credential digests.
fix(terraform): report resolved component name in exec metadata for path-style args @pcbeingused333 (#3586)
  • Terraform exec metadata now records the resolved logical component name for path-style arguments such as atmos terraform plan ./components/terraform/vpc, instead of retaining the raw path.
fix(ai): count prompt cache reads and writes in Anthropic and Bedrock input tokens @Haarris (#3662)
  • Anthropic and Bedrock InputTokens and TotalTokens now include prompt cache reads and writes, including replies containing only cached input. The shared base.UsageFromAnthropic conversion is used by both clients; CacheReadTokens and CacheCreationTokens remain separately reported.
fix(ci): parse terraform plans that import, move or replace resources @osterman (#3666)
  • Terraform plan parsing now recognizes imports, moves, replacements, tainted and deposed resources, for_each keys with spaces, and create_before_destroy replacements. It also preserves apply outputs with hyphens, brackets, or heredocs and avoids treating No changes. inside an attribute value as an empty plan.
feat(stores): add operation-scoped Vault identity cleanup @noeljackson (#3668)
  • Vault and OpenBao stores support opt-in options.identity_lifetime: operation, which authenticates an isolated target identity and logs it out before returning values while preserving existing sessions. Results are blocked when cleanup fails, and bounded cleanup runs during SIGINT/SIGTERM cancellation.
fix(auth): display native device prompts and enforce deadlines @noeljackson (#3669)
  • Native authentication plugins now display validated device-code instructions on stderr and apply invocation deadlines and cancellation to provider and identity authentication and logout RPCs.
fix: correct command discovery and quick-start examples @osterman (#3670)
  • Configured command aliases now forward discovery flags to their target commands. Advanced quick-start workflows no longer include redundant spinner steps, and generated Markdown keeps definition descriptions together with inline code.
fix(telemetry): degrade config-load failures to DEBUG instead of WARN @aknysh (#3671)
  • Telemetry config-load failures now log at DEBUG instead of user-facing WARN, so commands run from directories without the selected ATMOS_PROFILE no longer emit a misleading warning. Command-specific configuration errors remain unchanged.
fix(eks): preserve region and working directory in kubeconfig @osterman (#3675)
  • EKS kubeconfigs derive an omitted region from the returned cluster ARN and preserve the effective absolute working directory in ATMOS_CHDIR for direct-identity and integration modes. Existing kubeconfigs may need regeneration to receive the corrected authentication context.
fix(security): patch Dependabot and code-scanning alerts (Nov 2026) @osterman (#3688)
  • Registry-cache keys are validated against the cache root before any proxy operation, returning 400 for traversal attempts. The release also updates Go and vulnerable modules, patches website and example npm dependencies, and pins scanner and Helm example images by digest.
fix(helm): respect install-only CRDs in release plans @osterman (#3709)
  • Native Helm diff/plan and stack plan now respect install-only CRDs: existing releases omit crds/ files, while first installs show only CRDs missing from the cluster. Template, file/GitOps, subchart, and ordinary resource changes remain visible.
fix(terraform): prefix grouped logs with stack and component @zack-is-cool (#3718)
  • Grouped Terraform stdout and stderr lines now carry a [stack/component] prefix, matching stream mode. Saved per-component log files remain raw, with masking, stream destinations, and no-change suppression unchanged.
test(artifacts): make claim cancellation tests deterministic @osterman (#3721)
  • Makes artifact claim-cancellation scenarios deterministic by separating a normal lock conflict from a late fake-S3 claim that arrives after cancellation and holder release. The regression now reports which claim is ambiguous without relying on cancellation timing.
fix(auth): vendor saml2aws to drop go-jose/v3 and fix SAML login bugs @aknysh (#3722)
  • Vendors the supported saml2aws drivers, removes go-jose/v3 and the obsolete Playwright dependency from the Atmos binary, and fixes browser, ADFS, GoogleApps, Okta, Duo, captcha, output, process-cleanup, and session-file issues. aws/saml now validates supported drivers at login and downloads the exact browser revision required by its bundled driver.
fix(describe-affected): compare Helm sections with YAML function sources, not raw strings @pcbeingused333 (#3729)
  • describe affected now compares native Helm sections through deepEqualValues, so YAML functions such as !terraform.state are not considered changed solely because checkout paths differ between trees.
fix(describe-affected): detect helm release setting changes and ignore checkout paths in values @osterman (#3733)
  • describe affected now detects Helm changes to version, namespace, name, create_namespace, and release. Helm YAML-function values that differ only by embedded checkout paths are treated as equal, while changed function arguments still mark the component affected.
fix(spacelift): honor dependencies.components when generating Spacelift stack dependencies @elventear (#3734)
  • Spacelift stack generation now reads Terraform dependencies.components and emits the corresponding depends-on:<spacelift-stack> labels. It supports literal and templated stack values, optional targets with required: false, precedence over deprecated settings.depends_on, and additive settings.spacelift.depends_on.
fix(auth): make keyring keys, credential caches and logout realm-safe @aknysh (#3741)
  • Atmos Auth keyring keys, in-process caches, and cross-process credential reuse are now scoped by identity and realm, and logout removes reusable entries. Existing credentials remain migratable, while credential-broker retry/refresh, operation-identity grace periods, and case-insensitive isolated-identity names are corrected.
fix(auth): store ECR and ACR logins the way docker login does @aknysh (#3742)
  • atmos aws ecr login, atmos azure acr login, and ECR/ACR integrations now round-trip Docker config.json losslessly and atomically, honor credHelpers and credsStore, preserve helper-managed credentials, roll back helper writes when saving fails, warn when DOCKER_AUTH_CONFIG shadows the login, and normalize registry keys like Docker.
fix(auth): fix Azure and GCP credential and subscription handling @aknysh (#3743)
  • Fixes Azure and GCP authentication handling for subscriptions, MSAL cache isolation, PIM-role subscription selection, sovereign and mixed-case ACR registries, spec.registry.tenant_id, service-account environment isolation, gcloud project/region properties, and empty Google STS tokens.
fix(auth): isolate AWS identities and harden SSO login @aknysh (#3744)
  • AWS identities now isolate credential construction from user profile files, honor principal.region and files.base_path, handle SSO cancellation and RFC 8628 slow_down, and protect temporary AWS_* environment changes. SSO token caches use atomic writes and cross-process locking, and authentication dialogs fit 80-column terminals.
fix(auth): scope kubeconfig entries per identity and realm @aknysh (#3745)
  • EKS, AKS, and GKE integrations plus AWS and Azure update-kubeconfig paths now scope kubeconfig users by identity, account, and realm. Cleanup removes only Atmos-owned entries, exec entries survive checkout removal, update: error is repeatable, and aws eks update-kubeconfig --dry-run no longer changes files.
fix(auth): fix auth command output, exit codes and signals @aknysh (#3746)
  • Auth command output and process behavior are corrected: auth list JSON/YAML hides secrets, auth env preserves raw credentials, auth console avoids credentials after federation failure, identity selection honors --tags and --identity=false, names are case-insensitive, whoami validates correctly, and auth exec/auth shell forward signals and return signal exit codes.
fix: fix regressions found by the 1.235.0 regression test @aknysh (#3748)
  • Fixes release regressions affecting Gitea API URLs and token warnings, git push error context, edition dates, backend.tf.json sources, configuration-provider ownership, unknown Terraform sections, version comparison, affected-output notices, null stack keys, packer --dry-run, and HCL file truncation.
fix(auth): fix Atmos Auth regressions found by the 1.235.0 regression test @aknysh (#3752)
  • Restores correct Atmos Auth behavior for ambient whoami, Azure validation failures, Docker config writes on bind mounts and read-only directories, ECR helper logins, Azure MSAL lockfiles and symlinks, keyring rollback migration, and owner-only config-digest storage outside the keyring.
fix(terraform): fix plan hook, --out and exclude regressions found by the 1.235.0 regression test @aknysh (#3753)
  • Terraform plan hooks and policy inputs now distinguish a real plan -detailed-exitcode result from unrelated exit code 2 failures. All -out and --out forms work after --, and settings.terragrunt.exclude no longer skips ordinary components in --all runs.
fix(terragrunt): fix masking, generate, override and saved-plan bugs in native Terragrunt support @aknysh (#3754)
  • Native Terragrunt no longer masks every unit input, correctly handles included-file searches and nonliteral generated backends, skips Terragrunt units for atmos terraform generate backend, and isolates rejected overrides to affected units. Saved-plan manifests, stale signals, deploy verification paths, remote state without generate, environment option errors, and plugin version 0.1.2 are also corrected.

Don't miss a new atmos release

NewReleases is sending notifications on new releases.