We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the entered data is not going into dynamo db and it pops the message well this is embarrassing everytime
The text was updated successfully, but these errors were encountered:
me 2
Sorry, something went wrong.
For anyone that will cross with this problem in the future. It took me for a while to workaround the problem.
Long story short, AWS changed how Elastic Beanstalk works a little bit.
In order to make the example work you need to do 2 things.
Step 1 In your Elastic Beanstalk environment settings:
Step 2 then in the app.js before the following code:
var sns = new AWS.SNS(); var ddb = new AWS.DynamoDB();
Add this:
AWS.config.update({ region: process.env.AWS_REGION", accessKeyId: process.env.ACCESS_KEY_ID, secretAccessKey: process.env.SECRET_ACCESS_KEY });
With those 2 changes (and perhaps adding some IAM role if needed) the example app should work.
Note: Perhaps this is not the most security compliance way to solve this problem, but is a first step towards making the example work :)
No branches or pull requests
the entered data is not going into dynamo db and it pops the message well this is embarrassing everytime
The text was updated successfully, but these errors were encountered: