Code Monkey home page Code Monkey logo

serverless-s3-crud's People

Contributors

dependabot[bot] avatar tscanlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

serverless-s3-crud's Issues

Error on serverless deploy

Hi,
I am pretty new to serverless framework. I tried downloading your code and running it using serverless deploy. However, I get the following error every time:

ServerlessError: An error occurred while provisioning your stack: MyBucket - form-response
 already exists.

Here is the complete stack of logs while running deploy in verbose mode.
Note: I am running it in almost a brand new AWS account where there are no S3 buckets defined at all.

Please help.

C:\All\Practice\Microservices\svrlessfwk\serverless-s3-crud>serverless deploy -v
Serverless: Packaging service...
Serverless: Creating Stack...
Serverless: Checking Stack create progress...
CloudFormation - CREATE_IN_PROGRESS - AWS::CloudFormation::Stack - serverless-crud-s3-dev
CloudFormation - CREATE_IN_PROGRESS - AWS::S3::Bucket - ServerlessDeploymentBucket
CloudFormation - CREATE_IN_PROGRESS - AWS::S3::Bucket - ServerlessDeploymentBucket
CloudFormation - CREATE_COMPLETE - AWS::S3::Bucket - ServerlessDeploymentBucket
CloudFormation - CREATE_COMPLETE - AWS::CloudFormation::Stack - serverless-crud-s3-dev
Serverless: Stack create finished...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service .zip file to S3 (4.59 MB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
CloudFormation - UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - serverless-crud-s3-dev
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - ListLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::S3::Bucket - MyBucket
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - UpdateLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - ListLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - ReadOneLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - CreateLogGroup
CloudFormation - CREATE_COMPLETE - AWS::Logs::LogGroup - ListLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - ReadOneLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - DeleteLogGroup
CloudFormation - CREATE_COMPLETE - AWS::Logs::LogGroup - ReadOneLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - CreateLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - UpdateLogGroup
CloudFormation - CREATE_COMPLETE - AWS::Logs::LogGroup - CreateLogGroup
CloudFormation - CREATE_COMPLETE - AWS::Logs::LogGroup - UpdateLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution
CloudFormation - CREATE_IN_PROGRESS - AWS::ApiGateway::RestApi - ApiGatewayRestApi
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - ReadAllLogGroup
CloudFormation - CREATE_IN_PROGRESS - AWS::Logs::LogGroup - DeleteLogGroup
CloudFormation - CREATE_FAILED - AWS::S3::Bucket - MyBucket
CloudFormation - CREATE_COMPLETE - AWS::Logs::LogGroup - DeleteLogGroup
CloudFormation - CREATE_FAILED - AWS::Logs::LogGroup - ReadAllLogGroup
CloudFormation - CREATE_FAILED - AWS::ApiGateway::RestApi - ApiGatewayRestApi
CloudFormation - CREATE_FAILED - AWS::IAM::Role - IamRoleLambdaExecution
CloudFormation - UPDATE_ROLLBACK_IN_PROGRESS - AWS::CloudFormation::Stack - serverless-cru
d-s3-dev
CloudFormation - UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS - AWS::CloudFormation::Stack
 - serverless-crud-s3-dev
CloudFormation - DELETE_IN_PROGRESS - AWS::Logs::LogGroup - CreateLogGroup
CloudFormation - DELETE_IN_PROGRESS - AWS::Logs::LogGroup - UpdateLogGroup
CloudFormation - DELETE_IN_PROGRESS - AWS::ApiGateway::RestApi - ApiGatewayRestApi
CloudFormation - DELETE_IN_PROGRESS - AWS::Logs::LogGroup - ReadOneLogGroup
CloudFormation - DELETE_IN_PROGRESS - AWS::Logs::LogGroup - ListLogGroup
CloudFormation - DELETE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution
CloudFormation - DELETE_IN_PROGRESS - AWS::Logs::LogGroup - ReadAllLogGroup
CloudFormation - DELETE_COMPLETE - AWS::S3::Bucket - MyBucket
CloudFormation - DELETE_IN_PROGRESS - AWS::Logs::LogGroup - DeleteLogGroup
CloudFormation - DELETE_COMPLETE - AWS::Logs::LogGroup - CreateLogGroup
CloudFormation - DELETE_COMPLETE - AWS::Logs::LogGroup - UpdateLogGroup
CloudFormation - DELETE_COMPLETE - AWS::ApiGateway::RestApi - ApiGatewayRestApi
CloudFormation - DELETE_COMPLETE - AWS::Logs::LogGroup - ReadOneLogGroup
CloudFormation - DELETE_COMPLETE - AWS::Logs::LogGroup - ListLogGroup
CloudFormation - DELETE_COMPLETE - AWS::Logs::LogGroup - ReadAllLogGroup
CloudFormation - DELETE_COMPLETE - AWS::Logs::LogGroup - DeleteLogGroup
CloudFormation - DELETE_COMPLETE - AWS::IAM::Role - IamRoleLambdaExecution
CloudFormation - UPDATE_ROLLBACK_COMPLETE - AWS::CloudFormation::Stack - serverless-crud-s
3-dev
Serverless: Deployment failed!

  Serverless Error ---------------------------------------

  An error occurred while provisioning your stack: MyBucket - form-response already exists
.

  Stack Trace --------------------------------------------

ServerlessError: An error occurred while provisioning your stack: MyBucket - form-response
 already exists.
    at C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\lib\monitorStack.js:113:33
From previous event:
    at AwsDeploy.monitorStack (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\lib\monitorStack.js:26:12)
    at C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\lib\updateStack.js:88:30
From previous event:
    at AwsDeploy.update (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\lib\updateStack.js:88:8)
From previous event:
    at AwsDeploy.<anonymous> (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\lib\updateStack.js:105:12)
From previous event:
    at AwsDeploy.updateStack (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\lib\updateStack.js:99:8)
From previous event:
    at AwsDeploy.<anonymous> (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\deploy\index.js:125:39)
From previous event:
    at Object.AwsDeploy.hooks.aws:deploy:deploy:updateStack [as hook] (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\deploy\index.js:121:10)
    at C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:218:55
From previous event:
    at PluginManager.invoke (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:218:22)
    at PluginManager.spawn (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:230:17)
    at AwsDeploy.<anonymous> (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\deploy\index.js:91:48)
From previous event:
    at Object.AwsDeploy.hooks.deploy:deploy [as hook] (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\deploy\index.js:87:10)
    at C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:218:55
From previous event:
    at PluginManager.invoke (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:218:22)
    at PluginManager.run (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:237:17)
    at C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\Serverless.js:99:33
    at processImmediate [as _immediateCallback] (timers.js:383:17)
From previous event:
    at Serverless.run (C:\Users\My\AppData\Roaming\npm\node_modules\serverless\lib\Serverless.js:86:74)
    at C:\Users\My\AppData\Roaming\npm\node_modules\serverless\bin\serverless:39:50

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Forums:        forum.serverless.com
     Chat:          gitter.im/serverless/serverless

  Your Environment Information -----------------------------
     OS:                     win32
     Node Version:           4.2.4
     Serverless Version:     1.18.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.