sparse-intern-71089
10/31/2018, 6:18 PMwhite-balloon-205
@pulumi.random
package. You can use it to create random values that are persisted in the checkpoint and so only created once per stack (unless you force them to be recreated by changing the inputs):
import * as random from "@pulumi/random";
const token = new random.RandomString("password", {
length: 10,
lower: true,
upper: false,
special: false,
});
export let tokenString = token.result;
https://github.com/pulumi/pulumi-randomthankful-artist-95425
10/31/2018, 10:11 PM