Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by www.terraform.io #
 
PREVIOUS NEXT
Tagged: #element #function #terraform
ADD COMMENT
Topic
Name
5+1 =