[SOLVED] Atlantis with Terragrunt

Question

This Content is from Stack Overflow. Question asked by NEEL THOMAS

I use terragrunt to keep my code DRY, I have two repo structures one for modules and the other where my terragrunt files reside and inside the terragrunt.hcl I refer the source module via git .

Just checking out if anyone has successfully implemented Atlantis for terragrunt, not much documentation is available for the same.

If you have implemented pls share the repo for reference as most atlantis.yaml are meant for terraform not terragrunt

Solution

I found a workaround as mentioned here : runatlantis.io/docs/custom-workflows.html#terragrunt the only issue is that we need to change the image of the atlantis pod, because the default atlantis image doesn’t have terraform binary so u have to pass it inside the image runatlantis.io/docs/deployment.html#customization


This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of
CC BY-SA 2.5.
CC BY-SA 3.0.
CC BY-SA 4.0.

people found this article helpful. What about you?