aws-cloudformation / aws-cloudformation-resource-providers-stepfunctions

The CloudFormation Resource Provider Package For AWS Step Functions
https://aws.amazon.com/step-functions/
Apache License 2.0
6 stars 4 forks source link

fix: update DeleteHandler behaviour to succeed if resource does not exist #20

Closed jormello closed 3 years ago

jormello commented 3 years ago

Description of changes: Updates the DeleteHandler behaviour to be consistent with DeleteStateMachine API, which returns successfully even if the resource does not exist. Also updates the related unit test and changes the visibility of getStateMachineDoesNotExistException to be private since it is no longer invoked outside of ResourceHandler.java

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.