pulumi/pkg/codegen/testing/test/testdata/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
}]