Closed SharpEdgeMarshall closed 7 years ago
When calling batch-delete-image deletesha object is passed as imageIds parameter but is malformed
deletesha
Cloudwatch log:
ParamValidationError: Parameter validation failed: Invalid type for parameter imageIds[0].imageDigest, value: {'imageDigest': u'sha256:MYSHA256'}, type: <type 'dict'>, valid types: <type 'basestring'>
Cause: The sha256 is inserted inside a {'imageDigest':value} 2 times and the resulting array is:
{'imageDigest':value}
[{'imageDigest':{'imageDigest`:value}}, ...]
Solution: Remove the duplicated injection
When calling batch-delete-image
deletesha
object is passed as imageIds parameter but is malformedCloudwatch log:
Cause: The sha256 is inserted inside a
{'imageDigest':value}
2 times and the resulting array is:Solution: Remove the duplicated injection