mirror of https://github.com/pulumi/pulumi.git
11 lines
192 B
TypeScript
11 lines
192 B
TypeScript
|
import * as pulumi from "@pulumi/pulumi";
|
||
|
|
||
|
const data = [
|
||
|
1,
|
||
|
2,
|
||
|
3,
|
||
|
].map((v, k) => ({key: k, value: v})).map(entry => ({
|
||
|
usingKey: entry.key,
|
||
|
usingValue: entry.value,
|
||
|
}));
|