paulywill
paulywill

Reputation: 703

Cannot delete old AWS IAM Role

I'm cleaning up some very old AWS IAM roles and I am unable to delete this one (probably from old tutorial I was following from ACloudguru circa 2018).

I'm confused b/c I'm unable to find the resource.

The resource indicates in one region (eu-north-1) and lists using the naming of the region I normally work in (ca-central-1).

I did delete a CodeStar project and some SNS in ca-central-1 and deleted it but still unable to delete this role.

Does this take a few hours or days to delete a Codestar project across all the regions? Is there another reason why is eu-north-1 listing the resources? What am I missing?

enter image description here

enter image description here

Upvotes: 1

Views: 2523

Answers (1)

jarmod
jarmod

Reputation: 78890

Per the Using service-linked roles for AWS CodeStar Notifications documentation:

To delete a service-linked role, you must first delete its related resources. This protects your AWS CodeStar Notifications resources because you can't inadvertently remove permission to access the resources.

Upvotes: 1

Related Questions