How to delete AWS EMR container virtual clusters via the console or via AWS Nuke

0

Hi team, I see that deleting the EMR cluster sometimes does not necessarily delete the virtual clusters that they create and they remain running stale. Everytime I see this issue, I can only use the aws cli command aws emr-containers delete-virtual-cluster --id <virtual_cluster_id> to delete such leftover virtual clusters. Why is there no option in the Management console to delete this? Also, from the Amazon docs https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/automate-deletion-of-aws-resources-by-using-aws-nuke.html, I was referring to https://github.com/aws-samples/aws-nuke-account-cleanser-example#aws-account-cleanser-framework-using-aws-nuke, but AWS Nuke also does not seem to Nuke this resource type. We have an automation to nuke such stale resources, but since these resource type does not exist in AWS Nuke, we only can react with runtime failures by using the AWS CLI.

Can you please help us know if it is possible to do so by some other means/some automation?

已提問 1 年前檢視次數 53 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南