diff --git a/sdk/nodejs/output.ts b/sdk/nodejs/output.ts index 2fcb4dc25e1a..85c1517a42b4 100644 --- a/sdk/nodejs/output.ts +++ b/sdk/nodejs/output.ts @@ -202,7 +202,10 @@ To get the value of an Output as an Output consider either: 1: o.apply(v => \`prefix\${v}suffix\`) 2: pulumi.interpolate \`prefix\${v}suffix\` -See https://www.pulumi.com/docs/concepts/inputs-outputs for more details.`; +See https://www.pulumi.com/docs/concepts/inputs-outputs for more details. + +Or use ESLint with https://github.com/pulumi/eslint-plugin-pulumi to warn or +error lint on using Output in template literals.`; if (utils.errorOutputString) { throw new Error(message); }