Comments (9)
I am seeing the same issue. Tried several times.
from serverless-graphql-blog.
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.
I solved this problem by doing the following...
sls region remove -s dev -r us-west-2
sls region create
from serverless-graphql-blog.
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.
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.
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.
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.
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.
Just go to your account and delete the stack created by cloudformation and try again.
from serverless-graphql-blog.
Related Issues (20)
- Issues installing HOT 2
- Installation is broken on a fresh install of npm/serverless (mac osx) HOT 14
- Installation is broken on a fresh install of npm/serverless (mac osx) HOT 2
- Error loading request plugin HOT 1
- Deployment problem with role for function HOT 2
- Authentication?
- "serverless project install serverless-graphql-blog" does not work HOT 1
- ES6 features not working HOT 1
- Error occurs when it is deployed HOT 2
- Up code to serverless 1.5 HOT 4
- [Question] How to undo all this on AWS once you have finished? HOT 1
- Command "project" not found HOT 7
- ENV support?
- An AWS Lambda and API Gateway replacement is in making HOT 1
- graphql endpoint returning error after deploying project HOT 7
- How to make it scale? HOT 4
- Suggest adding troubleshooting section
- Updates needed for serverless 0.4? HOT 3
- Does this update need to be considered in this install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-graphql-blog.