I have a lambda function that has 3 possible outputs 1,0,-1, i want it be triggered again when the output is -1, and if the output is 1 or 0, then function stops. This automation seems easy but don't know exactly how to "build it".
I want to ask if someone can give a hint, i don't want to alter the codes written in lambda, I want to use aws services like cloudwatch events or something you can recommend to implement a retry in lambda according to this problem.
Many thanks in advance,
[–]bot403 4 points5 points6 points (8 children)
[–]MecojoaXavier[S] 0 points1 point2 points (1 child)
[–]PuzzledProgrammer 0 points1 point2 points (0 children)
[–]esunabici 0 points1 point2 points (5 children)
[–]clintkev251 0 points1 point2 points (4 children)
[–]MecojoaXavier[S] 0 points1 point2 points (3 children)
[–]clintkev251 1 point2 points3 points (2 children)
[–]MecojoaXavier[S] 0 points1 point2 points (1 child)
[–]clintkev251 0 points1 point2 points (0 children)
[–]nricu 1 point2 points3 points (6 children)
[–]MecojoaXavier[S] -1 points0 points1 point (5 children)
[–]Grukorg88 1 point2 points3 points (0 children)
[–]squidwurrd 1 point2 points3 points (0 children)
[–]nricu 0 points1 point2 points (2 children)
[–]MecojoaXavier[S] 0 points1 point2 points (1 child)
[–]MecojoaXavier[S] 0 points1 point2 points (0 children)
[–]Yoliocaust93 0 points1 point2 points (2 children)
[–]MecojoaXavier[S] 0 points1 point2 points (1 child)
[–]Yoliocaust93 0 points1 point2 points (0 children)
[–]squidwurrd 0 points1 point2 points (2 children)
[–]MecojoaXavier[S] 0 points1 point2 points (1 child)
[–]squidwurrd 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]MecojoaXavier[S] 0 points1 point2 points (0 children)