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 i set --cascade-dependencies=true all the dependencies including the files referenced in the include blocks are added to the when_modified block.
Then if i set --cascade-dependencies=false the atlantis.yaml file generated for resource_c is not including the file referenced in the include block from resource_b but i think it should since resource_b is a direct dependency of resource_c.
The idea of --cascade-dependencies=false is to not include dependencies of the dependencies, but all the include blocks for a direct dependency should be included.
Let me know what do you think.
Thanks for your support! All the best
The text was updated successfully, but these errors were encountered:
I just found that the same behaviour happens if in a direct dependency i set the extra_atlantis_dependencies local. It just ignores it when using --cascade-dependencies=false
Hi!
I just found something that IMHO is not working as expected.
When i set
--cascade-dependencies=false
there are missing files in thewhen_modified
block.Example:
I have the following:
resource_a.hcl
resource_b.hcl
In
"${dirname(find_in_parent_folders())}/_envcommon/resource_b/terragrunt.hcl"
i have the following dependency block.resource_c.hcl
In
"${dirname(find_in_parent_folders())}/_envcommon/resource_c/terragrunt.hcl"
i have the following dependency block.If i set
--cascade-dependencies=true
all the dependencies including the files referenced in the include blocks are added to the when_modified block.Then if i set
--cascade-dependencies=false
theatlantis.yaml
file generated forresource_c
is not including the file referenced in the include block fromresource_b
but i think it should sinceresource_b
is a direct dependency ofresource_c
.The idea of
--cascade-dependencies=false
is to not include dependencies of the dependencies, but all the include blocks for a direct dependency should be included.Let me know what do you think.
Thanks for your support! All the best
The text was updated successfully, but these errors were encountered: