Ad
 
Learn More

Bundled Terraform is the Important line in Atlantis v0.49.0

Atlantis v0.49.0 is flagged Important as a breaking release. The partner-break line is that the Docker images no longer ship Terraform or OpenTofu, so a server on the new tag will not start until a default version is pinned.

Written by Watch Changelog Team

•2 min read

Bundled Terraform is the Important line in Atlantis v0.49.0

Atlantis v0.49.0 went out early on October 25 and we flagged it Important. The maintainers call it a breaking release in the first sentence, and they give three reasons. The one that will page somebody first is the simplest: the Docker images no longer ship Terraform or OpenTofu.

That was announced back in v0.48.0, so it isn't a surprise to anyone who read those notes. It will still be a surprise to anyone who pulls latest. The latest, vX.Y.Z, and vX.Y.Z-debian images carry no binary and set no default version anymore, and the -alpine-slim and -debian-slim tags are no longer published. The failure is loud, at least. The server refuses to start with terraform not found in $PATH. The fix is one setting, --default-tf-version (or ATLANTIS_DEFAULT_TF_VERSION, or defaultTFVersion in Helm), plus --default-tf-distribution opentofu if you run OpenTofu. If the server can't reach the release hosts, you have to put a binary on PATH yourself and set --tf-download=false. The reasoning makes sense to me: every advisory against any bundled Terraform version showed up in scans of the Atlantis image, used or not.

The other two reasons are quieter but touch more workflows. Twelve security advisories are fixed, one of them Critical: the clone URL host wasn't checked against the configured VCS host, so the fork check could be bypassed. That fix means webhooks whose clone URL sits on a different host than --gh-hostname now get rejected. Plans are now bound to a hash, so a plan file that changes between plan and apply has to be re-planned. On Gitea, dismissed and stale approvals stop counting toward apply_requirements: [approved]. And -out, -generate-config-out, -state, -state-out, and -backup are blocked after -- in PR comments, with no way left to unblock them through --blocked-extra-args. Teams that generate import config from a comment will feel that one.

The third reason is a confession, and I like that they made it. v0.47.1 shipped a shell-injection fix that changed behavior without saying so. Terraform and conftest commands no longer run through sh -c, so extra_args entries that leaned on pipes, redirects, or two flags in one string stop working, and workspace names with /, $, or .. get rejected. If you jump straight from v0.47.0 or earlier, all of that lands at once.

My first read was "infra tool, platform team's problem." Wrong instinct if your product plugs into Terraform pull request workflows, because the default image changing under customers is exactly how a quiet week turns into support tickets. The talking point isn't "Atlantis fixed twelve CVEs." It's that the image no longer brings its own Terraform, so pin a version before you pull the new tag. The release sits at /sources/atlantis-releases, and the rest of the day's flagged changes are on /sources/important.

Official notes: Atlantis v0.49.0.