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

'aws lambda invoke' doesn't fail if lambda fails #3470

Closed
adamchainz opened this issue Jul 26, 2018 · 3 comments
Closed

'aws lambda invoke' doesn't fail if lambda fails #3470

adamchainz opened this issue Jul 26, 2018 · 3 comments
Labels
closed-for-staleness feature-request A feature should be added or improved.

Comments

@adamchainz
Copy link

It would be nice for scripts to be able invoke lambdas and then succeed only if the lambda function succeeds, at least for RequestResponse invocation type. Currently this requires checking the outfile for json and if it contains errorMessage, which isn't easy nor 100% reliable.

@jamesls jamesls added the feature-request A feature should be added or improved. label Aug 8, 2018
@jamesls
Copy link
Member

jamesls commented Aug 8, 2018

I agree this would be nice, marking as a feature request. Not sure if we can change the behavior of the existing command but perhaps we could add another aws lambda ... command that had this extra behavior.

FWIW, not sure if this meets your use case, but AWS Chalice supports lambda functions and also has a chalice invoke command that's a wrapper around aws lambda invoke that has a lot of this behavior (aws/chalice#900).

@github-actions
Copy link

Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. Because it has been longer than one year since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment to prevent automatic closure, or if the issue is already closed, please feel free to reopen it.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Sep 18, 2020
@kishaningithub
Copy link

Still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-for-staleness feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

3 participants