When working with a custom resource, you can create a mock version of the return URL.
The easiest way to do this is to get the URL that was used to create it. If you manage to do this, replace the section after the last% 2F with the βClient Request Tokenβ, which you can get from your event log for cloud information.
If not, here is the URL format that you will need to create.
https://{region}.console.aws.amazon.com/cloudformation/home?region={region}#/stacks?filter=active&tab=events&stackId={stack arn}%2F{stack name}%2F{client request token}
Run this url as get and this will result in rollback failure or resource deletion.
source share