DockerImageFunction mixed with Step functions example?
brainstorm opened this issue · 2 comments
Describe the feature
Generate an example like the one with Lambda.Function
:
But assuming that there are only DockerImageFunctions instead of "plain" lambdas.
Use Case
When this lambda code fails: umccr/infrastructure#303 with OOMs, there's no orchestrating mechanism to account and report the (data ingestion) failures. Step functions are perfectly suited for this usecase, but the current stepfunctions_tasks
class only accepts IFunctions
and not DockerImageFunctions.
Proposed Solution
Either find suitable methods that allow step function tasks to call docker image lambda functions or use ECS/Fargate instead?
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
Language
Python
Nevermind, this works alright, it's the VSCode linter that reports incorrect errors, but the CDK synths alright:
Thanks @victorskl @reisingerf
⚠️ COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.