Closed alexnguyennz closed 6 months ago
Did you define compute route?
If you specify an ImageOptimization route, you must also specify a Compute route. This is required because image optimization is not yet supported for purely static applications. https://docs.aws.amazon.com/amplify/latest/userguide/ssr-deployment-specification.html
Hi I found out a few months ago that this was actually due to a typo in the AWS documentation example for the spec so that was throwing off the build. Forgot about this issue. Thanks.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
This issue has been automatically locked.
Before opening, please confirm:
App Id
d1palg3fcdvx2w
AWS Region
us-east-1
Amplify Hosting feature
SSR
Question
Hi I'm having issues deploying a project using a deploy manifest with Image Optimization routes and settings.
For example, using the default examples from this page and this one (under "The following example demonstrates the imageSettings attribute"):
leads to an error of
We failed to validate the deploy-manifest.json file found in your build output directory - An invalid 'deploy-manifest.json' file was provided.
. I've tried a few different variations but am not able to get past this error. Any idea what needs to be changed?Thanks for any assistance.