amazon-sagemaker-examples
amazon-sagemaker-examples copied to clipboard
[Example Request]
Is there a way to add an end step to a sagemaker pipeline that still runs at the very end even if other previous steps fail. Before I thought we could make it a Fail Step but that only lets you return an error message and doesn’t let you run code. If we made it a conditional step how would we make sure it ran at the very end without depending on any previous steps. I thought of adding all previous steps as a dependency so it runs at the end, but then the end step wouldn't run if any step before that failed.
Same question
https://stackoverflow.com/questions/71761511/how-can-i-add-a-final-step-to-a-sagemaker-pipeline-that-runs-even-if-other-steps