Why would the ManagementClient.deleteClient not delete my client?

I’m using the ManagementClient in an AWS Custom Resource Provider. I call the ManagementClient.deleteClient function, but it is_not deleting the client:

await managementClient.deleteClient({ client_id: event.PhysicalResourceId });

There is no error being thrown - nothing. When I delete my stack it runs just fine.

What am I doing wrong?

I figured it out! This is very dumb of me. I wasn’t calling the correct function for the custom resource “Delete” event. I was doing it in the “Update” event.

My mistake!


No worries! We’ve all been there! Thanks for sharing it with the rest of community!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.