Unsupported Manifest/Layer Media type error #39
|
Hi All, I received the following error: has anyone ran into this issue and what are the possible workarounds? From what I can tell by the error, the Assets deployment Lambda function doesnt like the project image for some reason, do I need to build my image differently? Additionally, Is there a way I can define what ecr repo the image uploads too so I am not using the defualt repo for cdk? Thanks! |
Replies: 2 comments 7 replies
|
I have not faced this... Can you share your
Example with platform specified: new aws_ecr_assets.DockerImageAsset(this, 'CustomImage', {
directory: './path-to-dockerfile',
platform: 'linux/amd64',
}); |
|
@corbinabeebe , have you seen this? It offers some troubleshooting steps: https://repost.aws/questions/QUA20KN_o0SfOchiGO573GHw/cannot-deploy-docker-container-to-lambda I've never seen that error.
I haven't verified by this is what Amazon Q says: |
@corbinabeebe , have you seen this? It offers some troubleshooting steps: https://repost.aws/questions/QUA20KN_o0SfOchiGO573GHw/cannot-deploy-docker-container-to-lambda
I've never seen that error.
I haven't verified by this is what Amazon Q says: