I added an `aws.cloudwatch.Dashboard` to my code a...
# general
f
I added an
aws.cloudwatch.Dashboard
to my code and received this after running
pulumi up
. No idea what it means. These are my package deps:
Copy code
"@pulumi/pulumi": "0.16.9",
"@pulumi/aws": "0.16.5",
"@pulumi/cloud-aws": "0.16.2",
"@pulumi/aws-infra": "0.16.3-dev.1548354465"
error:
Copy code
error: TypeError: message.getPropertydependenciesMap is not a function
        at Function.proto.pulumirpc.RegisterResourceRequest.serializeBinaryToWriter (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/@pulumi/aws/node_modules/@pulumi/pulumi/proto/resource_pb.js:775:15)
        at proto.pulumirpc.RegisterResourceRequest.serializeBinary (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/@pulumi/aws-infra/node_modules/@pulumi/pulumi/proto/resource_pb.js:696:43)
        at serialize_pulumirpc_RegisterResourceRequest (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/@pulumi/aws-infra/node_modules/@pulumi/pulumi/proto/resource_grpc_pb.js:95:26)
        at Object.final_requester.sendMessage (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/grpc/src/client_interceptors.js:806:37)
        at InterceptingCall._callNext (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/grpc/src/client_interceptors.js:419:43)
        at InterceptingCall.sendMessage (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/grpc/src/client_interceptors.js:464:8)
        at InterceptingCall._callNext (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/grpc/src/client_interceptors.js:428:12)
        at InterceptingCall.sendMessage (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/grpc/src/client_interceptors.js:464:8)
        at ServiceClient.Client.makeUnaryRequest (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/grpc/src/client.js:536:21)
        at ServiceClient.method_func [as registerResource] (/home/kenny/compute_software/demo-applications/basic-web/pulumi/node_modules/grpc/src/client.js:950:43)
g
This looks like https://github.com/pulumi/pulumi/issues/2401 which Sean just opened yesterday. @incalculable-sundown-82514, is there a change Kenny can make to his dependency versions to fix/workaround this?
i
Does depending on a non-dev version of
@pulumi/aws-infra
fix the problem?
That would be my suggestion
f
We are using the code in 0.16.3.
i
The problem is that the tip of master of
pulumi/pulumi
is broken and the dev version of
@pulumi/aws-infra
brings in the broken master. I’m aiming to have it fixed by the end of today.