Created
May 5, 2020 19:10
-
-
Save sultanshakir/e717b8a62a13574c8993e039570cd091 to your computer and use it in GitHub Desktop.
invoking lambda from CLI requires base64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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