for_each: accepted values, each.key and instance addresses
In one line: for_each takes only a map or a set of strings, with keys known at plan and not sensitive; module instances are addressed by key.
You’ve read your 2 free Terraform Pro 002 lessons
Sign up free to read every lesson — your progress is saved.