Atlantis brings GitOps principles to Terraform by embedding plan/apply workflows directly into pull request comments. Developers interact with infrastructure changes the same way they interact with code: review the plan output in the PR, discuss changes with teammates, and apply when ready. The webhook-based architecture means Atlantis responds to PR events automatically, running plans on new commits and posting results as comments.
Resource locking prevents race conditions where two PRs could modify the same Terraform state simultaneously. The server tracks which PR holds the lock for each workspace and project, preventing concurrent applies that could leave infrastructure in an inconsistent state. Custom workflow configurations allow teams to define pre/post hooks, environment-specific variables, and multi-step deployment sequences.
Atlantis is Apache 2.0 licensed with 7,800+ GitHub stars and one of the most mature Terraform automation projects. It runs as a single Go binary or Docker container with minimal dependencies. The project supports Terraform, OpenTofu, Terragrunt, and other HCL-based tools. Compared to Terraform Cloud or Spacelift, Atlantis provides maximum flexibility and control as a self-hosted solution with zero licensing costs.