pulumi/tests/integration/secret_outputs/nodejs/index.ts

17 lines
467 B
TypeScript

import * as pulumi from "@pulumi/pulumi";
import { R } from "./res";
export const withoutSecret = new R("withoutSecret", {
prefix: pulumi.output("it's a secret to everybody")
});
export const withSecret = new R("withSecret", {
prefix: pulumi.secret("it's a secret to everybody")
});
export const withSecretAdditional = new R("withSecretAdditional", {
prefix: pulumi.output("it's a secret to everybody")
}, {
additionalSecretOutputs: ["prefix"]
});