Skip to content

Using generic CI/CD tools for your IaC automation? πŸ€–βš™οΈ

Download the Build vs Buy Guide→

Using Run-AllΒ»

IntroductionΒ»

Terragrunt's run-all feature allows you to deploy multiple modules at the same time. This very powerful feature allows you to develop large amounts of infrastructure as code with dependencies, mocked values, and while keeping things DRY.

How to use run-allΒ»

When creating a stack in Spacelift, you can enable the Use Run All property to start using this functionality natively in your own stacks:

Terragrunt stack creation screen

When this option is enabled, Spacelift will run all Terragrunt commands with the run-all option, taking into account any dependencies between your projects!

Why are my resources named strangely?Β»

Screenshot of run changes across a run-all Terragrunt stack Due to the way Terragrunt works, you may find that modules and projects create outputs or resources with the same names, and we want to make sure that you can determine the origin of all of your resources without getting confused about "Which project created output.password"?

For this reason, we prepend the addresses of your outputs and resources in the Spacelift user interface with the project they originated from. This allows you to keep on top of your resources, understand at a glance how things were created, and identify issues faster, Giving you more control and visibility over the resources you create!