Collection Functions
Abhishek Anand Amralkar

Abhishek Anand Amralkar @abhishekamralkar

About: Abhishek leads the Cloud Infrastructure / DevSecOps team where he designs the next generation of Cloud Infrastructure in a cost-effective and reliable manner without comprising

Location:
Pune
Joined:
Mar 6, 2017

Collection Functions

Publish Date: Aug 1 '20
6 0

concat

concat functions take 2 lists as a input and returns a new list

``

## element

`element` function in TF is selects single element from a list. 


hcl
element(concat(aws_vpc.generic.*.id, [""]), 0)




In above code, we have used `concat` and `element` both with using `element` we are just selecting the value at the 0th index in the list.

## flatten

`flatten` function in 

Comments 0 total

    Add comment