bitter-island-28909
12/02/2019, 5:36 PMadditionalSecretOutputs
incorrectly, although I could have sworn this used to work:
let pw = new random.RandomString("test-password", {
length: 8,
special: false,
additionalSecretOutputs: ["result", "id"]
});
let param = new aws.ssm.Parameter("test-password", {
length: 8,
value: pw.result,
type: "SecureString"
});
Expectation: The value of the RandomString and SSM parameter are not visible in plaintext in the stack state and web console.
Actual: The plaintext is visible in the stack state and web console.additionalSecretOutputs
is an option, not a property 🙂white-balloon-205
RandomPassword
instead. It is the same as random string, but doesn’t expose the generated string in the id.