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

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

Closed jormello closed 2 years ago

jormello commented 2 years ago

Description of changes: According to the resource type contract, the Delete handler "MUST return FAILED with a NotFound error code if the resource didn't exist prior to the delete request". This means that the Delete handler cannot have the same behaviour as the DeleteStateMachine API, which would return successfully if the resource did not exist.

This change reverts PR #20 - fix: update DeleteHandler behaviour to succeed if resource does not exist #20 .

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

jormello commented 2 years ago

No changes, as the revert was done in https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-stepfunctions/pull/21/files