sparse-intern-71089
06/02/2021, 4:15 AMbetter-shampoo-48884
06/02/2021, 9:53 AMbetter-shampoo-48884
06/02/2021, 9:54 AMconst mySecret = cfg.requireSecret('mySecret');
const privateKey = new pulumi.tls.PrivateKey(mySecret, { algorithm: 'RSA' }
if mySecret is of type Output<string> then you can't pass that as the first param to PrivateKey.. that needs to be a string.