How to make a plan file with terragrunt run-all

Hi community,

I begin to build a CI/CD with terragrunt and gitlab CI. Is it possible to use the terraform report artifact with terragrunt ? (cf Keyword reference for the .gitlab-ci.yml file | GitLab)

I try to find a way how to make a plan file with terragrunt run-all apply

Best regards,

Hi Theo,

While it’s possible to do this, it is not recommended. See this comment for more info on why.

Best regards,

Oh interesting, i did’nt know that xxx-all was not recommended. So in CI/CD systems we need to plan/apply for each modules. But we can’t make a terragrunt CI/CD generic for majority of infrastructure then.

Yes and no. Terragrunt has major flaws when it come to CI/CD. I would still recommend to look at the tool called atlantis and trigger based on changes and dependencies. It can do the heavy lifting of planning on the “modules” that you’ve just changed