Using terragrunt I can run terragrunt apply from such locations:
project1-dev/{region}/{module}/
and run terragrunt apply-all from:
project1-dev/{region}/
Ideally, I want to be able to call Atlantis like these:
atlantis plan, atlantis apply, atlantis plan-all, atlantis apply-all - to process directories which were changed by this PR (exactly as running terragrunt COMMAND, eg terragrunt apply-all, terragrunt plan from the directories)
atlantis plan PROJECT (for example, atlantis plan project2-prod/eu-west-1/rds should do cd project2/eu-west-1/rds && terragrunt plan
Let me know what do you think?
The text was updated successfully, but these errors were encountered:
I've referenced this issue in this ticket: runatlantis/atlantis#4 because it gives even greater detail and is kind of an extension of what's being asked for there.
I think what I'll end up doing is making it possible to add custom commands to Atlantis like atlantis plan-all rather than trying to support this natively in Atlantis.
I'm closing this for now but please if you have a response add it to that ticket. Also thank you for bringing up terragrunt. I haven't looked at it for a while and I can see how useful a tool it is. I definitely want to be able to support Terragrunt users in Atlantis.
@lkysow Please tell me if it is a good idea to open such issue here or in another place (https://github.com/atlantisnorth/atlantis-tests is probably a better place, but it does not have "Issues" enabled, bug?)
The project structure I typically work with look like this:
Using terragrunt I can run
terragrunt apply
from such locations:project1-dev/{region}/{module}/
and run
terragrunt apply-all
from:project1-dev/{region}/
Ideally, I want to be able to call Atlantis like these:
atlantis plan
,atlantis apply
,atlantis plan-all
,atlantis apply-all
- to process directories which were changed by this PR (exactly as runningterragrunt COMMAND
, egterragrunt apply-all
,terragrunt plan
from the directories)atlantis plan PROJECT
(for example,atlantis plan project2-prod/eu-west-1/rds
should docd project2/eu-west-1/rds && terragrunt plan
Let me know what do you think?
The text was updated successfully, but these errors were encountered: