Git Product home page Git Product logo

Comments (9)

copperspeed avatar copperspeed commented on July 21, 2024

I am seeing the same issue. Tried several times.

from serverless-graphql-blog.

raineroviir avatar raineroviir commented on July 21, 2024

I was able to deploy successfully once and then I deleted the folder and reinstalled and now I am having the same issue

from serverless-graphql-blog.

copperspeed avatar copperspeed commented on July 21, 2024

I solved this problem by doing the following...

sls region remove -s dev -r us-west-2
sls region create

from serverless-graphql-blog.

raineroviir avatar raineroviir commented on July 21, 2024

while doing sls region create I get the following error:
An error occurred while provisioning your cloudformation: The following resource(s) failed to create: [AuthorsDynamo, CommentsDynamo, IamRoleLambda, PostsDynamo]. . Delete requested by user.

from serverless-graphql-blog.

raineroviir avatar raineroviir commented on July 21, 2024

i was able to fix the 'no lambda IAM role found' problem by deleting everything and deploying to a different region

from serverless-graphql-blog.

marclar avatar marclar commented on July 21, 2024

Yes, just had this problem myself, fixed with sls region remove and sls region create, and needed to pick a different region (was on us-east-1, changed to ap-northeast-1).

from serverless-graphql-blog.

pcorey avatar pcorey commented on July 21, 2024

I'm also getting this error. I was following these directions:

http://docs.serverless.com/docs/installing-serverless

And used the us-east-1 region.

Switching to us-west-2 fixed the issue for me. Interestingly, after switching from us-west-2 back to us-east-1, serverless dash deploy worked fine.

from serverless-graphql-blog.

calam1 avatar calam1 commented on July 21, 2024

Ok, I was having similar problems with errors like:

The following resource(s) failed to create: [IamRoleLambda]. . Delete requested by user.

I took a look at the cloudformation logs, under the "deleted" filter. I saw that the process was failing due to the resource existing, but it was under another stack. I was experimenting earlier and manually running cloudformation templates via the console.

So what I did in the command line, you must have the aws-cli installed, was aws cloudformation describe-stacks and to my surprise I found a couple of outstanding stacks with created resources associated with it. I deleted those stacks via the command line, aws cloudformation delete-stack --stack-name xyz

i ran sls project remove, I went into my console and made sure everything was deleted, i.e. dynamodb tables, topics, as you know the remove does not delete dynamodb tables, etc; make sure you are starting from a clean slate.

Then I ran sls project init, picked the defaults as usual, YMMV, and it started working again.

Hope this helps people, this was driving me nuts for a day or two.

from serverless-graphql-blog.

dgomesbr avatar dgomesbr commented on July 21, 2024

Just go to your account and delete the stack created by cloudformation and try again.

from serverless-graphql-blog.

Related Issues (20)

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.