I resolved an issue in an app deployed to AWS Amplify using SvelteKit + amplify-adapter that was causing the upload error: "SvelteKitError: Content-length of 605227 exceeds limit of 524288 bytes."
The blog post provides a method to forcefully specify and install AWS CLI version 1 when attempting to install using the command `sudo snap aws-cli`, which by default installs version 2.
AWS SDK for Node.js throws CredentialsProviderError, even with a local DynamoDB, when ~/.aws/credentials has no default profile. Set AWS_PROFILE to fix it.