Invalid base64 error when executing with AWS CLI v2
Opened this issue · 1 comments
sliedig commented
Need to add --cli-binary-format raw-in-base64-out
if you're using AWS CLI v2.
Should be
aws lambda invoke --function-name sfn-workshop-SubmitApplication --payload '{ "name": "Spock", "address": "123 Enterprise Street" }' --cli-binary-format raw-in-base64-out /dev/stdout
gabehollombe-aws commented
Do you know if Cloud9 instances default to AWS CLI v2 now? If so, I'll just get this change committed and deployed.