TerraformIterator is used with the forEach meta-argument to create multiple instances of a resource or data source.
Static Methods
fromList()
fromMap()
Properties
key
readonly key: string
The key of the current element (for maps) or the index (for lists).
value
readonly value: any
The value of the current element.
Methods
getString()
getNumber()
getBoolean()
getList()
getMap()
TerraformCount
TerraformCount is used with the count meta-argument.
index
readonly index: number
The current index in the count loop.