|
| 1 | +# CLI config is loaded from the following locations (from lowest to highest priority): |
| 2 | +# system dir ('/usr/local/etc/atmos' on Linux, '%LOCALAPPDATA%/atmos' on Windows) |
| 3 | +# home dir (~/.atmos) |
| 4 | +# current directory |
| 5 | +# ENV vars |
| 6 | +# Command-line arguments |
| 7 | +# |
| 8 | +# It supports POSIX-style Globs for file names/paths (double-star '**' is supported) |
| 9 | +# https://en.wikipedia.org/wiki/Glob_(programming) |
| 10 | + |
| 11 | +# Base path for components, stacks and workflows configurations. |
| 12 | +# Can also be set using 'ATMOS_BASE_PATH' ENV var, or '--base-path' command-line argument. |
| 13 | +# Supports both absolute and relative paths. |
| 14 | +# If not provided or is an empty string, 'components.terraform.base_path', 'components.helmfile.base_path', 'stacks.base_path' and 'workflows.base_path' |
| 15 | +# are independent settings (supporting both absolute and relative paths). |
| 16 | +# If 'base_path' is provided, 'components.terraform.base_path', 'components.helmfile.base_path', 'stacks.base_path' and 'workflows.base_path' |
| 17 | +# are considered paths relative to 'base_path'. |
| 18 | +base_path: "." |
| 19 | + |
| 20 | +components: |
| 21 | + terraform: |
| 22 | + # Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_BASE_PATH' ENV var, or '--terraform-dir' command-line argument |
| 23 | + # Supports both absolute and relative paths |
| 24 | + base_path: "components/terraform" |
| 25 | + # Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_APPLY_AUTO_APPROVE' ENV var |
| 26 | + apply_auto_approve: false |
| 27 | + # Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_DEPLOY_RUN_INIT' ENV var, or '--deploy-run-init' command-line argument |
| 28 | + deploy_run_init: true |
| 29 | + # Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_INIT_RUN_RECONFIGURE' ENV var, or '--init-run-reconfigure' command-line argument |
| 30 | + init_run_reconfigure: true |
| 31 | + # Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_AUTO_GENERATE_BACKEND_FILE' ENV var, or '--auto-generate-backend-file' command-line argument |
| 32 | + auto_generate_backend_file: false |
| 33 | + |
| 34 | +stacks: |
| 35 | + # Can also be set using 'ATMOS_STACKS_BASE_PATH' ENV var, or '--config-dir' and '--stacks-dir' command-line arguments |
| 36 | + # Supports both absolute and relative paths |
| 37 | + base_path: "stacks" |
| 38 | + # Can also be set using 'ATMOS_STACKS_INCLUDED_PATHS' ENV var (comma-separated values string) |
| 39 | + included_paths: |
| 40 | + - "**/*" |
| 41 | + # Can also be set using 'ATMOS_STACKS_EXCLUDED_PATHS' ENV var (comma-separated values string) |
| 42 | + excluded_paths: |
| 43 | + - "**/_defaults.yaml" |
| 44 | + # Can also be set using 'ATMOS_STACKS_NAME_PATTERN' ENV var |
| 45 | + name_pattern: "{environment}-{stage}" |
| 46 | + |
| 47 | +workflows: |
| 48 | + # Can also be set using 'ATMOS_WORKFLOWS_BASE_PATH' ENV var, or '--workflows-dir' command-line arguments |
| 49 | + # Supports both absolute and relative paths |
| 50 | + base_path: "stacks/workflows" |
| 51 | + |
| 52 | +logs: |
| 53 | + verbose: false |
| 54 | + colors: true |
0 commit comments