I have some rough code ready to deploy but have been struggling to get authentication working with the aws-sam configuration so I decided to give Amplify another shot again.
I've been trying to follow https://github.com/aws-amplify/amplify-js-samples/tree/main/samples/vue/auth/authenticator but hit these problems
- npm start references yarn when we are using npm.
- file handle limit needs to be set larger. See https://github.com/gatsbyjs/gatsby/issues/11406
- Must do "amplify push" before you can run locally... which is a bit counter-intutive for usual operation of "push". See https://github.com/aws-amplify/amplify-cli/issues/186
I like the install profile of the Amplify CLI - it's an npm module (like everything else these days). Although I did notice A LOT of deprecated packages when installing. That seems to be a problem for many CLI/tools as things seem to move so fast and package maintainers don't have time to keep their dependencies up to date.
The aws-sam CLI on the other hand is based on homebrew (yet another package manager) which requires python and sets up a new user account and adds a bunch of junk to your bash/profile. Update: looks like sam has fixed that - https://github.com/aws/aws-sam-cli/issues/1424 :)