Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11357

Create list of objects from multiple list of objects

$
0
0

Hello Everyone,

I have following lists

bucket_dns_names = [
“1”,
“2”,
“3”,
]

bucket_ids = [
“11”,
“22”,
“33”,
]

cloudfront_origin_access_identity_paths = [
“111”,
“222”,
“333”,
]

What I want to create is :
final_list = [ [“1”, “11”, “111”], [“2”, “22”, “222”], [“3”, “33”, “333”] ]

How can we achieve this in terraform 12?

Thanks in advance!

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 11357

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>