GithubHelp home page GithubHelp logo

Comments (7)

devendradhanal avatar devendradhanal commented on May 24, 2024

@imkheong I am also facing same problem and my scenario is identical to yours.

from lambda-refarch-webapp.

devendradhanal avatar devendradhanal commented on May 24, 2024

@imkheong
Hi,
Changing
"Runtime": "nodejs" to "Runtime" : "nodejs4.3"
in
cognito-creation-helper.template and config-helper.template
solved my problem

Steps :

  1. Change "Runtime": "nodejs" to "Runtime" : "nodejs4.3" in all .template files
  2. Change TemplateURL to point to your custom .template files w.r.t to step 3 in serverless-web-master.template
  3. Upload template files to your account's S3 bucket
  4. 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.

rohitanytime avatar rohitanytime commented on May 24, 2024

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.

jefferyhe avatar jefferyhe commented on May 24, 2024

@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.

rohitanytime avatar rohitanytime commented on May 24, 2024

from lambda-refarch-webapp.

SCorwinAtDRB avatar SCorwinAtDRB commented on May 24, 2024

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.

hanish-garg avatar hanish-garg commented on May 24, 2024

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)

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.