1.2 KiB
1.2 KiB
title, type, entity_type, tags, sources, last_updated
| title | type | entity_type | tags | sources | last_updated | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Atlantis | entity | tool |
|
|
2026-05-13 |
Overview
Atlantis 是一个开源的 Pull Request 驱动的 Terraform 自动化工具,将 Terraform 与 GitHub/GitLab 等 Git 平台深度集成,实现基础设施即代码的协作式管理。
Core Mechanism
- PR 触发:当 Pull Request 打开或更新时,自动运行
terraform plan - 自动化 apply:在 PR 合并后,自动执行
terraform apply - 工作流控制:通过
atlantis.yaml配置文件定义项目和工作流 - 多云支持:支持所有 Terraform Provider(AWS、GCP、Azure 等)
GitOps Workflow
- 开发者提交 PR 修改 Terraform 代码
- Atlantis 自动检测 PR,运行
terraform plan并将计划结果以评论形式发布到 PR - 团队成员审查计划变更
- PR 合并后,Atlantis 执行
terraform apply - Apply 结果同样发布到 PR 评论