https://pulumi.com logo
m

modern-bear-85657

07/10/2019, 9:39 PM
I’m getting this error when testing usage of the
aws.ssm.getParameter()
function:
Copy code
TypeError: Cannot read property 'invoke' of undefined
      at debuggable_1.debuggablePromise.Promise (/path/to/my/project/node_modules/@pulumi/pulumi/runtime/invoke.js:63:114)
Code under test:
Copy code
const result: GetParameterResult = await getParameter(...)
It looks like (maybe)
getMonitor()
is returning
undefined
. https://github.com/pulumi/pulumi/blob/master/sdk/nodejs/runtime/invoke.ts#L49
2 Views