You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some practical cases when you would like to prevent state machine from deletion on stack delete or update. This can be achieved by adding `retain` property to the state machine section.
225
+
226
+
```yaml
227
+
stepFunctions:
228
+
stateMachines:
229
+
myStateMachine:
230
+
retain: true
231
+
```
232
+
233
+
Configuring in such way adds `"DeletionPolicy" : "Retain"` to the state machine within CloudFormation template.
0 commit comments