Integrations
Atmos supports native integrations with various tools that extend its core functionality. Configure integrations to generate configuration for tools like Atlantis and Spacelift.
Configuration
Integrations are configured in the integrations section:
atmos.yaml
Atlantis Integration
The Atlantis integration generates atlantis.yaml repository configuration files.
Configuration Options
integrations.atlantis.pathPath and name of the Atlantis config file. Supports absolute and relative paths. All intermediate folders will be created automatically. Can be overridden with
--output-pathcommand-line argument.integrations.atlantis.config_templatesNamed configuration templates for Atlantis repo-level settings. Select a template using
--config-templatewhen generating.integrations.atlantis.project_templatesNamed project templates for Atlantis project configuration. Select a template using
--project-templatewhen generating.integrations.atlantis.workflow_templatesNamed workflow templates for custom Atlantis workflows defining plan and apply steps.
Template Variables
Project templates support the following placeholder variables:
| Variable | Description |
|---|---|
{tenant} | The tenant name from stack context |
{environment} | The environment name from stack context |
{stage} | The stage name from stack context |
{component} | The component name |
{workspace} | The Terraform workspace name |
{component-path} | The path to the component |
Usage
Generate Atlantis configuration:
# Generate using default templates
atmos atlantis generate repo-config
# Generate using specific templates
atmos atlantis generate repo-config \
--config-template config-1 \
--project-template project-1
# Output to stdout
atmos atlantis generate repo-config --output-path=/dev/stdout
Available Integrations
Atmos supports the following integrations:
| Integration | Description |
|---|---|
| Atlantis | Generate Atlantis repo configuration |
| Spacelift | Configure Spacelift stacks |
| GitHub Actions | CI/CD with GitHub Actions |
See Also
- CLI Configuration — Overview of CLI configuration
- Atlantis Integration — Complete Atlantis integration guide
- Spacelift Integration — Complete Spacelift integration guide
- GitHub Actions Integration — GitHub Actions workflows