You’ve been given requirements to create a security group for a new application. Since your organization standardizes on Terraform, you want to add this new security group with the fewest number of lines of code. What feature could you use to iterate over a list of required tcp ports to add to the new security group?
A. Dynamic block
B. Dynamic backend
C. Terraform import
D. Splat expression
Answer:A
You’ve been given requirements to create a security group for a new application. Since your organization standardizes on Terraform, you want to add this new security group with the fewest number of lines of code. What feature could you use to iterate over a list of required tcp ports to add to the new security group?
A. Dynamic block B. Dynamic backend C. Terraform import D. Splat expression