only use 1 element of count 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
#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