-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autoplan triggering in directories without .tf files #1085
Comments
or probably better to check in the first place at
|
If you have an |
Yes, but that doesn't make this not a bug. |
Okay I re-read it now and I think I understand it better, you want the logic: if the file modified is terragrunt.hcl and the directory that terragrunt.hcl is in contains no .tf files then ignore? |
yes |
it went stale because it was ignored. |
The way that DetermineProjects works now is that it looks for modified files whose names contain
.tf
or is terragrunt.hcl. I useterragrunt.hcl
, and at the top of my terraform repository is aterragrunt.hcl
file and a common.tfvars file. There are no actual terraform config files, just subdirectories containing the terraform config files. So when I change the top levelterragrunt.hcl
file or thecommon.tfvars
file, atlantis tries to run a plan and fails because there isn't actually any terraform config to plan.#1075 has code to add an exception to ignore
.tfline.hcl
file changes and whatever else we care to add, but my problem depends on context. We need to ignore changes toterragrunt.hcl
and files containing.tf
if there are no.tf
files in the directory. I assume that check should go about here when we get the project directories that the modified files belong to.The text was updated successfully, but these errors were encountered: