Open
Description
we are creating KMS Keys via a custom cloudformation stack and noticing the following functionality when a user tries to create a KMS Key with an alias that already exists:
- Cloudformation stack containing a 'name' param of an existing KMS Alias is created.
- Cloudformation sends a create event which raises an exception due to a KMS Key already existing with the 'name'.
- Due to the custom-resource-helper returning a PhysicalResourceId that is auto generated (on a failure) Cloudformation tries to rollback and sends a 'delete' event.
- Due to the PhysicalResourceId not actually being a real resource the delete event fails and the stack is stuck in a ROLLBACK_FAILED state.
I reckon the issue is the same than in #7, there was a branch with a solution, but it was closed.
Metadata
Metadata
Assignees
Labels
No labels