Quiz 1 Question 20 of 20

A security group uses dynamic "ingress" with for_each = var.rules, where var.rules is a list of objects with port and cidr attributes, and content sets from_port = ingress.value.port. One generated rule has the wrong port. Inside content, what do ingress.key and ingress.value refer to?

Select an answer to reveal the explanation.

Motivation