pulumi/tests/testdata/codegen/entries-function-pp/entries-function.pp

4 lines
96 B
Puppet

data = [for entry in entries([1,2,3]) : {
usingKey: entry.key
usingValue: entry.value
}]