Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Stopped Executions before deleting step functions state machines #1053

Merged
merged 13 commits into from
Aug 24, 2023

Conversation

suleman-sohail
Copy link
Contributor

@suleman-sohail suleman-sohail commented Jul 25, 2023

Description

When we have created state machines in step functions, and have enabled executions within those state machines, we sometimes have trouble in deleting those state machines. This PR fixes that.

Repro

Create a state machine, with wait module (in flow tab, ig), this will have the executions in running state for that duration. Trying to delete state machine would fail because of on-going executions. We have to stop executions, for that state machine.

@suleman-sohail suleman-sohail requested a review from a team as a code owner July 25, 2023 12:09
bjoernhaeuser
bjoernhaeuser previously approved these changes Aug 2, 2023
@bjoernhaeuser bjoernhaeuser enabled auto-merge (squash) August 2, 2023 08:49
StateMachineArn: f.ARN,
}

for{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please run go fmt to fix the formatting here?

auto-merge was automatically disabled August 13, 2023 11:51

Head branch was pushed to by a user without write access

@der-eismann der-eismann merged commit e641116 into rebuy-de:main Aug 24, 2023
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants