Skip to content

Announcing Enhanced VCS Integration ๐ŸŽ‰ ๐ŸŽ‰

Read more here โ†’

Using Run-Allยป

Introductionยป

Terragrunt's run-all feature allows you to deploy multiple projects and modules and this very powerful feature allows you to develop large amounts of infrastructure as code with dependencies, mocked values, and 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!