You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a change is made to both module1/main.tf and vpc/main.tf, Atlantis will attempt to run terraform plan in vpc/ (which is correct) and in the root of the project (which is incorrect).
This occurs due to an attempt to support this type of structure:
main.tf
modules/
module1/
main.tf
The way Atlantis works right now is we assume if there's a change in any directory called modules we should run plan/apply in the root.
Possible solutions:
requiring an atlantis.yaml file in all project roots. We don't run anywhere that doesn't have one
detecting if there are no .tf files in the parent of modules/ and not running there if that's the case
The text was updated successfully, but these errors were encountered:
Given the following directory structure:
If a change is made to both
module1/main.tf
andvpc/main.tf
, Atlantis will attempt to runterraform plan
invpc/
(which is correct) and in the root of the project (which is incorrect).This occurs due to an attempt to support this type of structure:
The way Atlantis works right now is we assume if there's a change in any directory called
modules
we should run plan/apply in the root.Possible solutions:
atlantis.yaml
file in all project roots. We don't run anywhere that doesn't have one.tf
files in the parent ofmodules/
and not running there if that's the caseThe text was updated successfully, but these errors were encountered: