🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)13 / 150
Question 13 of 150
You are writing a security group resource that must produce a variable number of nested `ingress` blocks based on a list of port objects passed as `var.ingress_rules` (each with `port` and `cidr` attributes). You want to avoid hardcoding repeated `ingress { ... }` blocks. Which construct correctly generates the nested blocks?
Reviewed for accuracy · Report an issueNext question