3 ms·
How about using the new AWS Step Functions instead? This would allow a full push model while still keeping a nice and tight workflow: 1. fire off AWS Step fun
by gbrits 10y ago
How about using the new AWS Step Functions instead?
This would allow a full push model while still keeping a nice and tight workflow:
1. fire off AWS Step function on new post to S3 bucket
2. read delay / schedule time in metadata from (assumable) markdown post
3. trigger AWS Step Function using the Wait State defined based on read value from 2.
4. As part of Step Function: After Wait State -> Execute Lambda to publish post.
Note: 3) requires setting variable time in Wait State based on environment. Haven't read up so don't know if that's possible, but guess it should be.
- 101km 10y agoThis is the correct answer.
- davidwells 10y agoHey gbrits. Thanks for the comment. This looks like a great alternative solution! Haven't messed around with step functions yet but was looking into it today after I found this https://www.youtube.com/watch?v=9MKL5Jr2zZ4&t=226s https://www.youtube.com/watch?v=9MKL5Jr2zZ4&t=226s Are you using step functions for other flows?