terraform0.12+
Terraform: modules + output from for_each
[*] The [*] and .* operators are intended for use with lists only. Because this resource uses for_each rather than count, its value in other expressions is a map, not a list. To make your configuration work you’ll need to decide whether it’s better to return a map of names where the keys are the … Read more