SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Scalable Terraform configuration design

Referencing for_each resources and modules

1 min read · 175 wordsTerraform Pro 002Updated

In one line: A for_each resource is a map of instances, so convert with values() or a for expression before a splat, and index with matching keys.

You’ve read your 2 free Terraform Pro 002 lessons

Sign up free to read every lesson — your progress is saved.

Spotted a mistake in this part?

Part 9 of 10Next