I’m getting this error when testing usage of the `...
# general
m
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