Quiz 2 Question 6 of 20

In Terraform 1.15, a module decodes JSON into local.raw and needs it as exactly list(object({ name = string, port = optional(number, 443) })), with the port default applied to entries that omit it, instead of relying on type inference. Which expression does that?

Select an answer to reveal the explanation.

Motivation