Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sultanshakir/e717b8a62a13574c8993e039570cd091 to your computer and use it in GitHub Desktop.

Select an option

Save sultanshakir/e717b8a62a13574c8993e039570cd091 to your computer and use it in GitHub Desktop.
invoking lambda from CLI requires base64
add "--cli-binary-format raw-in-base64-out" with your command
i.e
aws lambda invoke --function-name foo_bar --payload file://payload.json --cli-binary-format raw-in-base64-out response.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment