CI Configuration
The ci section of atmos.yaml configures native CI/CD integration, including output variables,
job summaries, status checks, PR comments, and template overrides. Terraform supports the full
feature set; Kubernetes v1 CI support writes job summaries only.
Quick Start
Configuration Reference
ci.enabledExplicitly enable or disable CI mode. When not set, CI mode is auto-detected from environment variables (
CI=trueorGITHUB_ACTIONS=true).Default: Auto-detected
Sections
Configure the CI build cache that restores and saves the toolchain and other regenerable artifacts across CI jobs.
Configure commit status checks for CI pipelines
Configure PR/MR comments with plan summaries
Configure CI output variables for downstream jobs
Configure rich job summaries for CI pipelines
Customize CI job summary and PR comment templates
Component Support
| Component type | Job summaries | Output variables | Status checks | PR comments | Artifacts |
|---|---|---|---|---|---|
| Terraform | Yes | Yes | Yes | Yes | Planfiles |
| Kubernetes | Yes | No | No | No | No |
Kubernetes summaries cover render, plan/diff, apply/deploy, delete, validate, and command failures. They intentionally do not create a machine-readable output contract in v1.
Full Example
CI Detection
CI mode is auto-enabled when any of these environment variables are set:
CI=true(set by most CI providers)GITHUB_ACTIONS=true(set by GitHub Actions)
Override with the --ci flag, ATMOS_CI, or ci.enabled configuration.
Terraform commands use native CI for summaries, outputs, checks, comments, and planfile storage. Native Helm and Helmfile commands use native CI for job summaries only.
Environment Variables
| Variable | Description |
|---|---|
ATMOS_CI | Explicitly enable CI mode (true/false) |
ATMOS_CI_COMMENTS_ENABLED | Override ci.comments.enabled (true/false) |
CI | Standard CI environment variable (set by most CI providers) |
GITHUB_ACTIONS | Set by GitHub Actions runner |
GITHUB_TOKEN / GH_TOKEN | GitHub API token (required for status checks and PR comments) |
GITHUB_OUTPUT | File path for CI output variables (set by GitHub Actions) |
GITHUB_STEP_SUMMARY | File path for job summaries (set by GitHub Actions) |
GITHUB_REPOSITORY | Repository name in owner/repo format |
GITHUB_SHA | Current commit SHA |
Related
- Native CI Overview - Feature overview and quick start
- Native CI Overview - Feature overview
- Planfile Storage - Store and verify planfiles
atmos terraform plan --ci- Plan with CI integrationatmos terraform deploy --ci- Deploy with plan verification