Terraform & IaC (50 Qs)•Part 2: Modules, Multi-Environment & GitOps (16 - 30)
Explain GitOps for Infrastructure: How does Atlantis automate Terraform Pull Requests?
senior LevelFormsCI/CD & DevOpsTerraform & IaC
In Simple Words: Atlantis is an open-source pull request automation server:
- Engineer opens a Git PR with Terraform changes.
- Atlantis runs
terraform planautomatically and posts the formatted output as a PR comment. - Team reviews and approves the plan.
- Engineer types
atlantis applyin the PR comments. Atlantis acquires a state lock, executesapply, merges the PR, and unlocks state. Eliminates local credential sharing!