In this article I have explored all the examples on how to use list of strings with for_each for loop in Terraform resource and output block.
In this first block of example I have defined variable named marvel, it's type is list and value has string names of superheroes inside [ ] squa…