module “lambda_slos”{
source = git hub repo path
for_each = for s in local.lambda_slos : s.title => s
title = each.value.title}
all in same terraform file, how to get the title output from module . If i give output with local.lambda_slos i can see all those titles but i am unable tosee it from modules.
If the module has an output called title, and it’s a string vs. a list or map, you should be able to reference it via the index, like: module.lambda_slos["json path"].title
Side note: it will be easier to read your examples if you can wrap them in triple-backticks.