-
Notifications
You must be signed in to change notification settings - Fork 6
Replies: 1 comment · 2 replies
-
Hi there, did you check the logs of Also, you should probably share a minimal, complete and reproducible example of your code that causes the problem so we can dig deeper into your issue. |
Beta Was this translation helpful? Give feedback.
All reactions
-
My table is set up with the partition key as the guild_id. I have also tried to do a fresh build (deleting the build from AWS and redeploying it). DynamoDB.js
I tested this by manually inserting my test server id into the table and checking if I get a return. helpCommand.js
I have not made any changes to the template file other than adding AmazonDynamoDBFullAccess policy to the two functions. This is what I see on CloudWatch.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to create a command that accesses Dynamo with a script I wrote. This is how I imported it:
const DynamoDB = require('../DynamoDB')
I can access the database in a test Node.js file:
node testDynamo.js
However, when I import the file into my command located in the
commands
folder,sam deploy
hangs onCreateCommandsInvoker
.I have read this discussion post, but I am unsure where to begin to import DynamoDB.js into the resource.
Beta Was this translation helpful? Give feedback.
All reactions