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

Documentation update #1

Open
larmi01-itq opened this issue Jan 25, 2022 · 0 comments
Open

Documentation update #1

larmi01-itq opened this issue Jan 25, 2022 · 0 comments

Comments

@larmi01-itq
Copy link

file: README.md
section: Setup
step: 5a

I got an error with the following command:

aws lambda invoke
--function-name $CFN_STACK_NAME-UpdateWAFIPSets
--region $REGION
--payload file://lambda/test_event.json lambda_return.json

error:

An error occurred (InvalidRequestContentException) when calling the Invoke operation: Could not parse request body into json: Could not parse payload into json: Invalid UTF-8 middle byte 0x28"

I had to add the parameter --cli-binary-format raw-in-base64-out since the input is not base64 encoded.

Thanks for the sample very helpful.

rutson added a commit to rutson/aws-waf-ipset-auto-update-aws-ip-ranges that referenced this issue Jun 8, 2022
rutson added a commit to rutson/aws-waf-ipset-auto-update-aws-ip-ranges that referenced this issue Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant