rebuy-de / aws-nuke

Nuke a whole AWS account and delete all its resources.
MIT License
5.75k stars 721 forks source link

Include SageMaker domains, user, user profile and space. #1216

Open pomcho555 opened 5 months ago

pomcho555 commented 5 months ago

The following resources are available in aws-nuke.

    - SageMakerApp
    - SageMakerDomain
    - SageMakerEndpoint
    - SageMakerEndpointConfig
    - SageMakerModel
    - SageMakerNotebookInstance
    - SageMakerNotebookInstanceLifecycleConfig
    - SageMakerNotebookInstanceState
    - SageMakerUserProfiles

But I couldn't delete domains from this tool. It's super nice to delete domains. Please note there are some tree type dependencies to delete domains.

Reference: https://docs.aws.amazon.com/sagemaker/latest/dg/gs-studio-delete-domain.html

npellegrin commented 5 months ago

Without additional logs it is impossible to investigate, but Sagemaker domains likely cannot be deleted because of an associated SageMaker space.

I have opened a PR to fix it two months ago but none of the maintainers approved it...