无服务器框架 AWS 部署
Serverless Framework AWS deployment
我正在尝试使用无服务器框架将 lambda 函数部署到 AWS,但是 运行 在 运行ning 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 存储桶并指向现有存储桶?我认为这可能是问题之一。
我们可以使用插件为无服务器提供自定义存储桶。通过这个 link use custom bucket in serverless
我正在尝试使用无服务器框架将 lambda 函数部署到 AWS,但是 运行 在 运行ning 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 存储桶并指向现有存储桶?我认为这可能是问题之一。
我们可以使用插件为无服务器提供自定义存储桶。通过这个 link use custom bucket in serverless