HashiCorp Certified: Vault Associate VA-002-P Question # 24 Topic 3 Discussion

HashiCorp Certified: Vault Associate VA-002-P Question # 24 Topic 3 Discussion

VA-002-P Exam Topic 3 Question 24 Discussion:
Question #: 24
Topic #: 3

What Terraform feature is shown in the example below?

1. resource "aws_security_group" "example" {

2. name = "sg-app-web-01"

3. dynamic "ingress" {

4. for_each = var.service_ports

5. content {

6. from_port = ingress.value

7. to_port = ingress.value

8. protocol = "tcp"

9. }

10. }

11. }


A.

data source


B.

dynamic block


C.

local values


D.

conditional expression


Get Premium VA-002-P Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.