Using Atlantis with subdirectories without atlantis.yaml (no repo side config) #3087
Unanswered
adrianbanciu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, this is for context:
From what I could gather there is no support for the case in which you modify something in the subdirectory and the parent directory runs terragrunt plan/apply.
Example:
The pull request modified something only in
project/data/parameters.yaml
. Atlantis will try to autoplan in thedata
subdirectory if autoplan is set detect changes in theparameters.yaml
file. The situation is pretty much identical to: #2603Due to this I'm trying to create my custom solution, which means modifying the
TERRAGRUNT_WORKING_DIR
environment variable (I know it's not ideal) toproject
. This seems to function alright, but the commit message falsely indicates that the plan has been ran in theproject/data
subdirectory.Could I modify this output through the workflow, without having to overwrite the templates?
And ideally, is there is a way to address subdirectories that's more elegant on the server side, please let me know. 😅
Additionally (a bit beyond of the scope of the initial question), can you make it so when you make a change to
parameters.yaml
andterragrunt.hcl
both, the former is not taken into account, but if you change onlyparameters.yaml
it is?Beta Was this translation helpful? Give feedback.
All reactions