Apply on Merge
Deploy infrastructure after a change merges. Atmos can compare the new plan against the plan reviewed in the pull request before applying it.
Use Setup Atmos to pin the Atmos container version, enable native CI reporting, and configure authentication and permissions for your repository.
Workflow
atmos terraform deploy runs a fresh plan and applies it with -auto-approve. When planfile storage is configured under components.terraform.planfiles in atmos.yaml, a CI deploy automatically downloads the planfile uploaded during the PR run, generates a fresh plan, and performs a semantic comparison before applying (failing on drift by default). The --verify-plan flag (or ATMOS_TERRAFORM_VERIFY_PLAN=true) is only a per-run override — it forces verification on (and --verify-plan=false forces it off), and it requires planfile storage to be configured: without it there is no stored plan to verify against, and the deploy errors. You can also run atmos terraform apply directly. See Planfile Storage for details.
Storing planfiles in the github/artifacts backend requires the runner's artifact credentials,
which GitHub withholds from run: steps. Add the
github-runtime action before the
plan/deploy steps in the workflows above.