gabehollombe-aws/step-functions-workshop

Invalid base64 error when executing with AWS CLI v2

Opened this issue · 1 comments

Need to add --cli-binary-format raw-in-base64-out if you're using AWS CLI v2.

https://step-functions-workshop.go-aws.com/30_setting_up_our_services/30_exploring_account_app_service.html

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

Do you know if Cloud9 instances default to AWS CLI v2 now? If so, I'll just get this change committed and deployed.