aws-waf-ipset-auto-update-aws-ip-ranges icon indicating copy to clipboard operation
aws-waf-ipset-auto-update-aws-ip-ranges copied to clipboard

Documentation update

Open larmi01-itq opened this issue 2 years ago • 0 comments

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.

larmi01-itq avatar Jan 25 '22 20:01 larmi01-itq