我通过无服务器创建了s3存储桶,然后通过控制台将其删除。 Serverless无法识别存储桶已被删除。
如何查看存储桶已不存在? 我还想念其他东西吗?
错误消息:
Serverless: Operation failed!
Serverless Error ---------------------------------------
An error occurred: AttachmentsBucket - ets-attachment-bucket already
exists in stack arn:aws:cloudformation:us-east-1:827046125128:stack/
s3-aws-tutorial2-dev/1a8a5350-eb64-11e8-9abf-128e2cab805c.
Stack Trace --------------------------------------------
ServerlessError: An error occurred: AttachmentsBucket - ets-attachment-
bucket already exists in stack arn:aws:cloudformation:us-east-
1:827046125128:stack/s3-aws-tutorial2-dev/1a8a5350-eb64-11e8-9abf-
128e2cab805c.
答案 0 :(得分:0)
它正在尝试进行更改,但是cloudformation堆栈已经存在。您需要进入aws控制台cloudFormation,删除与无服务器相关的堆栈,然后重新运行您的部署。