how to pick element from the list one by one in th terraform code example
Example: element function in terraform
#Element retrieves single element from the list
element(list, index)
#Example to Understand
element(["a", "b", "c"], 1)
b
element(["a", "b" , "c"], 0)
a