Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The sample-apps/java-basic has an issue with 3-invoke.sh. It doesn't account for the change made from AWS CLI v1 to v2. #319

Closed
robinsjm2 opened this issue Nov 21, 2021 · 1 comment

Comments

@robinsjm2
Copy link

The sample-apps/java-basic has an issue with 3-invoke.sh. It doesn't account for the change made from AWS CLI v1 to v2.

https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-cli_binary_format.html#setting-cli_binary_format-detail

To get it to work with AWS CLI v2, the command should be:

aws lambda invoke --function-name $FUNCTION --cli-binary-format raw-in-base64-out --payload file://event.json out.json

@mwunderl
Copy link
Member

Thanks for your feedback. Taking a look at this issue in #180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants