Ive been latently considering this problem more and I have 2 ideas to try:
-
the
local.service_listcompares key entries to!= nullbecause I used to use terraform custom objects… -
The problem could be due to the fact that I’m passing the local to a submodule as a variable. Variables in TF are treated differently at
planand are not capable of waiting. hence why the error is related to the ARC sub-modulevar.service_listand not the root modulelocal.service_listwhere the list is initially calculated. I may try to extract the resources from a sub-module and see if that fixes it…