删除S3存储桶时出现访问被拒绝

0

【以下的问题经过翻译处理】 我正在进行部署Web应用程序到弹性Beanstalk的实践,但在删除资源的步骤中,我无法删除为应用程序创建的S3存储桶,并收到以下错误消息:“elasticbeanstalk-us-east-id”

1 Answer
0

【以下的回答经过翻译处理】 要么该存储桶不为空,要么存在阻止删除的存储桶策略。请参见 https://aws.amazon.com/premiumsupport/knowledge-center/elastic-beanstalk-delete-s3/ 当您使用Elastic Beanstalk应用程序创建S3存储桶时,会应用一个策略来防止意外删除该存储桶。要删除该存储桶,您需要首先删除存储桶策略。有关说明,请参阅删除Elastic Beanstalk Amazon S3存储桶。

警告:如果删除存储桶,则可能导致依赖该存储桶的任何其他AWS资源或应用程序无法正确工作。

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions