lamda deloy with update configuration failed with below info
here is my config file
----------------------------
{"Layers":
[
{ "Arn": "arn:aws:lambda:eu-west-1:xxxxxxxxxxx:layer:ap-mail-node-pgpool-1:22", "CodeSize": 229879 }
]
}
---------------------------------------
function update part works just fine but while updating config it fails
here is the error log
<span>INFO: Updating Lambda function configuration.</span>
<span>aws lambda update-function-configuration --function-name ap-mail-ds1-scs-1 --cli-input-json {"Layers": </span><span>[</span><span> { "Arn": "arn:aws:lambda:eu-west-1:xxxxxxxxxxx:layer:ap-mail-node-pgpool-1:22", "CodeSize": 229879 }</span><span> ]</span><span>}</span><span>Parameter validation failed:</span><span>Invalid type for parameter Layers[0], value: {u'CodeSize': 229879, u'Arn': u'arn:aws:lambda:eu-west-1:xxxxxxxxxxx:layer:ap-mail-node-pgpool-1:22'}, type: <type 'dict'>, valid types: <type 'basestring'></span><span>✖ Failed to update Lambda function configuration.</span>