Comments (7)
@imkheong I am also facing same problem and my scenario is identical to yours.
from lambda-refarch-webapp.
@imkheong
Hi,
Changing
"Runtime": "nodejs"
to "Runtime" : "nodejs4.3"
in
cognito-creation-helper.template
and config-helper.template
solved my problem
Steps :
- Change
"Runtime": "nodejs"
to"Runtime" : "nodejs4.3"
in all .template files - Change
TemplateURL
to point to your custom .template files w.r.t to step 3 inserverless-web-master.template
- Upload template files to your account's S3 bucket
- Instead of clicking on "launch stack" button from lambda-refarch-webapp choose either of the following option
- Upload a template to Amazon S3
- Specify an Amazon S3 template URL
from lambda-refarch-webapp.
Still getting error on stack creation, I see that templates are already fixed to nodejs4.3.
I am getting below error
20:02:24 UTC-0600 CREATE_FAILED AWS::S3::Bucket WebsiteBucket Property BucketName cannot be empty if specified.
from lambda-refarch-webapp.
@rohitanytime During stack creation, under the Specify Details page, the 'HostingBucket' field is empty, just put a random name. That resolved my issue.
from lambda-refarch-webapp.
from lambda-refarch-webapp.
The HostingBucket field needs to be filled in with an allowed name. A random name is fine if it's sufficiently random. From http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html: "A bucket name must be unique across all existing bucket names in Amazon S3. We recommend that all bucket names comply with DNS naming conventions." I finally put a timestamp at the end of mine.
Also, based on my experience getting this to work, DynamoDB table names need to be unique within an Amazon account. So if the stack creation fails you need to delete any partially-created stacks before trying again.
from lambda-refarch-webapp.
getting error for ConfigHelperStack...please help and advise
Embedded stack arn:aws:cloudformation:us-east-1:570585003507:stack/serverless-web-refarch-2-ConfigHelperStack-U9F0YSLGOX2J/b6b718b0-9827-11e9-8a12-0a3a983b5e88 was not successfully created: The following resource(s) failed to create: [AddConfigSetting].
| Physical ID:arn:aws:cloudformation:us-east-1:570585003507:stack/serverless-web-refarch-2-ConfigHelperStack-U9F0YSLGOX2J/b6b718b0-9827-11e9-8a12-0a3a983b5e88
from lambda-refarch-webapp.
Related Issues (20)
- running locally failure due to server task missed in gulpfile.js HOT 1
- link to diagram in READ.md failing HOT 7
- Bad performance in lambda functions HOT 2
- cloudformation failed at confighelperstack HOT 5
- Add overview of DynamoDB design HOT 2
- Cloud formation stack giving error...please help HOT 5
- Fix text and resolution on the diagram image HOT 1
- Users aren't restricted to their own todo items HOT 2
- CognitoID / aws_user_pools_id config on client unused? HOT 4
- Template miss spell HOT 1
- Unable to Login - redirects back to login page HOT 2
- Unable to delete the Todo HOT 2
- After deploy, AWS Amplify needs to be run manually HOT 5
- CORS policy error after login HOT 1
- Unsecure - User token passed in URL
- Frontend headers generation source
- AWS SAM Template - link does not exist HOT 1
- Unable to test locally HOT 2
- More real world
- Unable to delete and complete Todo HOT 3
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 lambda-refarch-webapp.