Skip to main content
atmos.yaml1.0 KB
View on GitHub
# Atmos CLI configuration for this example.
# https://atmos.tools/cli/configuration

# Base path for components, stacks and workflows.
base_path: "."

# Component configuration.
components:
terraform:
# Path to Terraform components (relative to base_path).
base_path: "components/terraform"
# Apply auto-generated backend configuration.
apply_auto_generated_backend_file: true

# Stack configuration.
stacks:
# Path to stack files (relative to base_path).
base_path: "stacks"
# Stack naming template.
name_template: "{{.vars.environment}}-{{.vars.stage}}"
# Template configuration.
templates:
settings:
enabled: true
sprig:
enabled: true
gomplate:
enabled: true

# Register the local `scaffold.yaml` in this directory as the "example"
# template, so `atmos scaffold generate example <target>` resolves it by
# name instead of requiring a local path argument.
scaffold:
templates:
example:
description: Example scaffold template for demonstration
source: "."

# Logging.
logs:
level: info

Related Documentation