Use this skill
atmos ai skill install atmos-profilesSKILL.md2.3 KB
View on GitHubAtmos Profiles
Use this skill when configuring or troubleshooting Atmos profiles: named configuration overlays
selected with --profile or ATMOS_PROFILE.
Purpose
Profiles let teams switch configuration contexts without changing the base project config. Use them for developer, CI, tenant, cloud account, or environment-specific overrides.
atmos --profile developer terraform plan vpc -s devATMOS_PROFILE=ci atmos terraform deploy vpc -s prod
Profile Layout
Keep profile files focused and aligned with the sections they override:
profiles/developer/atmos.yamlauth.yamlci/atmos.yamlauth.yaml
Profile configuration is merged into the active Atmos configuration. Put shared defaults in the base config, then keep each profile to the smallest override needed.
Profile Config
Configure the profile search location in root config when the default location is not sufficient:
profiles:base_path: profiles
Example profiles/ci/auth.yaml override:
auth:providers:github-oidc:kind: github/oidcregion: us-east-1identities:deploy:kind: aws/assume-rolevia:provider: github-oidc
Routing
| Need | Load |
|---|---|
| Profile activation, directory layout, merge behavior | stay in atmos-profiles |
| Auth providers, identities, OIDC, SSO, keyring in profiles | atmos-auth |
CI use of ATMOS_PROFILE | atmos-ci |
| Tool versions or registries that differ by profile | atmos-toolchain |
| Base paths and profile-relative file layout | atmos-project-layout |
Guardrails
- Keep profile overrides small and predictable; avoid duplicating the whole base
atmos.yaml. - Use the same provider and identity names across profiles when callers should not care which profile is active.
- Prefer
ATMOS_PROFILEin CI and--profilefor one-off local commands. - Verify the active merged configuration with
atmos describe configor the relevantatmos describe componentcommand.