HashiCorp Certified: Terraform Associate (003) — Question 1
You can reference a resource created with for_each using a splat ( * ) expression.
Answer options
- A. True
- B. False
Correct answer: B
Explanation
The correct answer is False because resources created with for_each do not support splat expressions for referencing. Instead, you must access them using their specific keys or indices, which makes the use of a splat expression inappropriate in this context.