Skip to content

Instantly share code, notes, and snippets.

@llun
Created January 8, 2018 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llun/2f573befbd35aab7546ca017516e86e5 to your computer and use it in GitHub Desktop.
Save llun/2f573befbd35aab7546ca017516e86e5 to your computer and use it in GitHub Desktop.
AWS_REGION=us-east-1 apex alias -v current staging sampleFunction
⨯ Error: function sampleFunction: ValidationException: 1 validation error detected: Value 'current' at 'functionVersion' failed to satisfy constraint: Member must satisfy regular expression pattern: (\$LATEST|[0-9]+)
status code: 400, request id: f6752c1b-f44e-11e7-a309-bb1a3231a400
AWS_REGION=us-west-2 apex alias -v current staging sampleFunction
• updated alias staging env= function=sampleFunction version=139
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment