Skip to content

[Feature request] File as payload #97

@mputilin

Description

@mputilin

AWS CLI has ability to use file as payload: aws lambda invoke --payload file://test_event.json I tried to go the same way, but unsuccessful:

Payload:
file://test_event.json

ERROR: Build step failed with exception
java.lang.RuntimeException: com.amazonaws.services.lambda.model.InvalidRequestContentException: Could not parse request body into json: Unrecognized token 'file': was expecting 'null', 'true', 'false' or NaN

Please, add such feature it should be straightforward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions