terragrunt-atlantis-config for Mac
Generate Atlantis config for Terragrunt projects
terragrunt-atlantis-config — overview
Terragrunt Atlantis Config
Generate Atlantis Config for Terragrunt projects.
What is this?
Atlantis is an awesome tool for Terraform pull request automation. Each repo can have a YAML config file that defines Terraform module dependencies, so that PRs that affect dependent modules will automatically generate terraform plans for those modules.
Terragrunt is a Terraform wrapper, which has the concept of dependencies built into its configuration.
This tool creates Atlantis YAML configurations for Terragrunt projects by: Finding all terragrunt.hcl in a repo Evaluating their dependency, terraform, locals, and other source blocks to find their dependencies Creating a Directed Acyclic Graph of all dependencies Constructing and logging YAML in Atlantis' config spec that reflects the graph
This is especially useful for organizations that use monorepos for their Terragrunt config (as we do at Transcend), and have thousands of lines of config.
Integrate into your Atlantis Server
The recommended way to use this tool is to install it onto your Atlantis server, and then use a Pre-Workflow hook to run it after every clone. This way, Atlantis can automatically determine what modules should be planned/applied for any change to your repository.
To get started, add a pre_workflow_hooks field to your repos section of your server-side repo config:
Then, make sure terragrunt-atlantis-config is present on your Atlantis server. There are many different ways to configure a server, but this example in Packer should show the bash commands you'll need just about anywhere:
and just like that, your developers should never have to worry about an atlantis.yaml file, or even need to know what it is.
Extra dependencies
For basic cases, this tool can sniff out all dependencies in a module. However, you may have times when you want to add in additional dependencies such as: You use Terragrunt's read_terragrunt_config function in your locals, and want to depend on the read file Your Terragrunt module should be run anytime some non-terragrunt file is updated, such as a Dockerfile or Packer template You want to run _all_ modules any time your product has a major version bump You believe a module should be reapplied any time some other file or directory is updated
In these cases, you can customize the locals block in that Terragrunt module to have a field named extra_atlantis_dependencies with a list of values you want included in the config, such as:
In your atlantis.yaml file, you will end up seeing output like:
Details
为 Terragrunt 项目生成 Atlantis 配置
How to install terragrunt-atlantis-config
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2025-10-28; current version v1.21.1, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v1.21.1 | 2025-10-28 | Stable | 72.2 MB | Download | Download | Download |
| v1.21.0 | 2025-09-21 | Stable | — | — | — | — |
| v1.20.0 | 2025-02-09 | Stable | 43.1 MB | Download | Download | Download |
| v1.19.0 | 2024-10-07 | Stable | 44.9 MB | Download | Download | Download |
| v1.18.0 | 2024-04-28 | Stable | 44.9 MB | Download | Download | Download |
| v1.17.4 | 2024-01-29 | Stable | 19.7 MB | Download | Download | Download |
| v1.17.3 | 2024-01-26 | Stable | 19.7 MB | Download | Download | Download |
| v1.17.2 | 2024-01-26 | Stable | — | — | — | — |
| v1.17.1 | 2024-01-26 | Stable | — | — | — | — |
| v1.17.0 | 2024-01-26 | Stable | — | — | — | — |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| terragrunt-atlantis-config | v1.21.1 | MIT | CLI | 25 |
| plutoprint | v0.23.0 | MIT | CLI | 26 |
| cyclonedx-python | 7.5.0 | Apache-2.0 | CLI | 26 |
| openssl@4 | openssl-4.1.0 | Apache-2.0 | CLI | 494,798 |
Similar apps: Command-line Tools
plutoprint
PlutoPrint is a lightweight and easy-to-use Python library for generating high-quality PDFs and…cyclonedx-python
cyclonedx-python is a command-line tool for generating Software Bills of Materials (SBOMs) in…openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratiopkgconf
pkgconf is a program which helps to configure compiler and linker flags for development…node
Node.js is an open-source, cross-platform JavaScript runtime environment.Categories: Command-line Tools