Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip error if role no longer exists in instance profile deletion
When performing the PreDelete step on an `InstanceProfile` that detaches a role via `RemoveRoleFromInstanceProfileWithContext` it is possible that the role no longer exists. If so, the `InstanceProfile` can no longer be deleted succesfully, repeatedly failing the `PreDelete` step. This ignores the error is `NoSuchEntity` is returned when detaching the role as the role not existing implies we should be able to proceed with the delete step for the instancep profile.
- Loading branch information