[英]Can I delete and recreate an AWS root account with the same e-mail address?
A CloudFormation template (written by Amazon's own experts, ironically) failed to create its stacks and then failed to delete the resources it had created. 一个CloudFormation模板 (由亚马逊自己的专家编写,具有讽刺意味的)无法创建其堆栈,然后无法删除其创建的资源。 Deleting the IAM user account where these failed stack creations occurred will not clean up resources, so I'm faced with closing the root account. 删除发生这些失败的堆栈创建的IAM用户帐户不会清理资源,因此我面临着关闭根帐户的麻烦。
If I delete the root account can I recreate it again, and how long will I have to wait to create another root account with the same e-mail? 如果删除了根帐户,是否可以再次创建它,并且我将需要等待多长时间才能使用相同的电子邮件创建另一个根帐户?
There shouldn't be any need to delete the root account. 不需要删除根帐户。 Even if you can't delete the resources via CloudFormation, you should be able to delete them manually in the web console or using the CLI, and then when you try to delete the CF stack again it will notice that the resources are gone and continue. 即使您无法通过CloudFormation删除资源,您也应该能够在Web控制台或使用CLI手动删除它们,然后当您再次尝试删除CF堆栈时,它会注意到资源已消失并继续。 There are very few resources which can be put into a state where they can't be deleted by manual commands and waiting a short time. 有哪些可以投入是无法通过手工配置命令删除的状态,并等待很短的时间很少的资源。
If you can't delete resources manually (even as root) then something has gone very wrong with your account and you should contact AWS tech support. 如果您无法手动删除资源(即使以root用户身份),则您的帐户出了点问题,您应该联系AWS技术支持。
To answer the actual question posed, though, AWS accounts are not uniquely keyed by email address; 但是,为了回答实际提出的问题,AWS账户不是唯一通过电子邮件地址键入密钥; you can actually change the primary email, so you should maybe try creating a new account and swapping the email addresses over, before deleting the old one. 您实际上可以更改主要电子邮件,因此您应该尝试创建一个新帐户并交换电子邮件地址,然后再删除旧帐户。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.