https://pulumi.com logo
Title
r

red-keyboard-36959

11/05/2020, 3:23 PM
Hello all, when going through the example at https://github.com/pulumi/examples/blob/master/aws-ts-eks-hello-world/index.ts I get an error:
error: Running program '/home/tom/work/aws-typescript' failed with an unhandled exception:
    Error: Unable to deserialize resource urn:pulumi:dev::aws-typescript::eks:index:Cluster$aws:iam/instanceProfile:InstanceProfile::helloworld-instanceProfile, no module is registered for iam/instanceProfile.
        at deserializeProperty (/home/tom/work/aws-typescript/node_modules/@pulumi/pulumi/runtime/rpc.js:486:31)
        at Object.deserializeProperties (/home/tom/work/aws-typescript/node_modules/@pulumi/pulumi/runtime/rpc.js:125:24)
        at /home/tom/work/aws-typescript/node_modules/@pulumi/pulumi/runtime/resource.js:436:43
        at Generator.next (<anonymous>)
        at /home/tom/work/aws-typescript/node_modules/@pulumi/pulumi/runtime/resource.js:21:71
        at new Promise (<anonymous>)
        at __awaiter (/home/tom/work/aws-typescript/node_modules/@pulumi/pulumi/runtime/resource.js:17:12)
        at resolveOutputs (/home/tom/work/aws-typescript/node_modules/@pulumi/pulumi/runtime/resource.js:431:12)
        at Object.<anonymous> (/home/tom/work/aws-typescript/node_modules/@pulumi/pulumi/runtime/resource.js:233:19)
        at Generator.throw (<anonymous>)
b

billowy-army-68599

11/05/2020, 4:42 PM
can you remove your
node_moduels
and rerun
npm install
and try again?
r

red-keyboard-36959

11/05/2020, 8:19 PM
same error
b

billowy-army-68599

11/05/2020, 9:24 PM
can you open an issue for this? we'd like to make sure this works
r

red-keyboard-36959

11/05/2020, 11:47 PM
sure