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
I've found another infinite loop based using modules. If you have a local value (local.foo) in the root that is the same as a local value (local.foo) in the module and have the one in the module expand out using the one from the root it generates a recursive loop.
@MrMickS, thank you for reporting this and also uploading a example. This indeed is causing terrascan to go into an infinite loop.
Its always better with an example, I've been on the receiving error of issues reported with only vague descriptions. It wasn't happening all the time for us so I wanted to understand what the trigger was. Having identified it we can work around the problem internally.
Hi,
I've found another infinite loop based using modules. If you have a local value (local.foo) in the root that is the same as a local value (local.foo) in the module and have the one in the module expand out using the one from the root it generates a recursive loop.
We can work around by renaming locals but that's for the one's we know about.
I've attached a zip file with Terraform that reproduces the error.
locals_loop_error.zip
The text was updated successfully, but these errors were encountered: