Quiz 7 Question 2 of 20

A root module calls a child module named network, which creates private subnets. The root needs those subnet IDs for a database resource, but referencing module.network.aws_subnet.private[*].id fails with an error. Which change provides the IDs correctly?

Select an answer to reveal the explanation.

Motivation