Version Files
version.files declares which files carry managed versions. atmos version track apply rewrites those files from the lock file, and verify fails when they drift.
Configuration
atmos.yaml
When version.files is empty, managers with default paths run over those defaults.
Managers
github-actions- Rewrites
uses:refs in workflow files by matchingowner/repopackages. marker- Rewrites version tokens on lines annotated with
atmos:versioncomments. template- Renders
*.tmplsource files to sibling files using the.versioncontext.
Marker Example
# atmos:version opentofu
ENV TOFU_VERSION=1.10.6
tofu_version: 1.10.6 # atmos:version opentofu
Use match= when the default token detection is ambiguous:
DOWNLOAD_URL="https://example.com/tool/v1.2.3/tool.tgz" # atmos:version tool match=/tool/(v[^/]+)/tool.tgz
Examples
atmos version track apply prod
atmos version track apply prod --check
atmos version track apply prod --manager=github-actions