mlevit / aws-auto-cleanup

Programmatically delete AWS resources based on an allowlist and time to live (TTL) settings
MIT License
495 stars 55 forks source link

Added ec2:DeleteVpcEndpoints action needed to delete serverless Kafka clusters #125

Closed atqhg23 closed 2 years ago

atqhg23 commented 2 years ago

Description

Access to ec2:DeleteVpcEndpoints is needed to be able to delete serverless kafka clusters. The following error came up when the cleanup role did not have access to the action:

There is an issue with your clusters.
Code: InvalidInput.InsufficientPermissionException
Message: Amazon MSK could not create or delete your cluster because you don't have the necessary permissions required for the operation.

Related issue(s) (if applicable)

Checklist

Generic

Development

Testing

Documentation

mlevit commented 2 years ago

@atqhg23 thank you very much for investigating this one your side and creating the PR.