https://pulumi.com logo
#aws
Title
# aws
s

silly-address-30441

05/07/2021, 8:43 PM
I'm getting an error running
pulumi up
in a situation where there should be no changes:
Copy code
Diagnostics:
  aws:elasticache:Cluster (example):
    error: unmarshaling urn:pulumi:dev::core::aws:elasticache/cluster:Cluster::example's instance state: could not read field snapshot_arns: '' expected type 'string', got unconvertible type '[]interface {}', value: '[]'
I just upgraded to
3.2.1
but the error persists.
Any ideas?
r

rich-farmer-40546

05/07/2021, 11:26 PM
That seems like you’re giving that the wrong type, from what I can see there it’s expecting a string and it didn’t get it. You might get more help putting in the code for the resource you’re creating and not just the error message.
s

silly-address-30441

05/07/2021, 11:55 PM
This script hasn't changed for weeks and was working fine last time I ran it, so I don't think it is the code...
I found this which looks related: https://github.com/pulumi/pulumi-aws/issues/1458
r

rich-farmer-40546

05/08/2021, 12:04 AM
That seems to be the problem. That thread has a workaround, though it should work for you with the initial version you used before. So rollback to that version, or use the workaround in that thread. Apparently there’s a breaking change. Nice catch.
👍 1