我正在尝试使用无服务器框架将lambda函数部署到AWS,但在运行serverless deploy --verbose
时会遇到此错误
Serverless: Excluding development dependencies...
Serverless: Creating Stack...
Serverless: Checking Stack create progress...
CloudFormation - DELETE_IN_PROGRESS - AWS::CloudFormation::Stack - hello-world-dev
CloudFormation - DELETE_COMPLETE - AWS::S3::Bucket - ServerlessDeploymentBucket
CloudFormation - DELETE_COMPLETE - AWS::CloudFormation::Stack - hello-world-dev
Serverless: Stack create finished...
Serverless Error ---------------------------------------
Stack 'hello-world-dev' does not exist
这是第一次部署它。
我已在.yml文件中设置了区域并拥有对AWS的权限,是否可以更改部署使用的S3存储桶并指向现有的存储桶?我认为这可能是问题之一。