sparse-intern-71089
09/29/2020, 10:00 PMgorgeous-egg-16927
09/29/2020, 10:46 PMconst jsonString = appInsights.name.apply(x => JSON.stringify({
keyA: x,
keyB: "valueB"
}))
const vaultSecret = new vault.generic.Secret("vaultSecret",{
path: `kv/some/path`,
dataJson: jsonString,
});
gorgeous-egg-16927
09/29/2020, 10:47 PMJSON.stringify
in the callback which will have access to the resolved string value. If you need to include more than one output value, you can use pulumi.all
before the applyripe-russia-4239
09/29/2020, 11:02 PMwhite-angle-34155
09/29/2020, 11:02 PM