danilop / LambdAuth

A sample authentication service implemented with a server-less architecture, using AWS Lambda to host and execute the code and Amazon DynamoDB as persistent storage. This provides a cost-efficient solution that is scalable and highly available and can be used with Amazon Cognito for Developer Authenticated Identities.
MIT License
1.37k stars 234 forks source link

aws: error: argument command: Invalid choice, valid choices are: #63

Closed tanzeelrana closed 7 years ago

tanzeelrana commented 7 years ago

`Updating function LambdAuthChangePassword begin... updating: index.js (deflated 68%) updating: config.json (deflated 43%) usage: aws [options] [parameters] aws: error: argument command: Invalid choice, valid choices are:

autoscaling | cloudformation
cloudfront | cloudsearch
cloudtrail | cloudwatch
datapipeline | directconnect
dynamodb | ec2 `

tanzeelrana commented 7 years ago

aws --version was old fixed it with updating it