You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -129,7 +129,7 @@ Available options for the constructor are the following:
129
129
console.log(res);
130
130
}
131
131
});
132
-
132
+
133
133
// res: { count: 23,
134
134
// lastEvaluatedKey: { hash: '3d2d6963' },
135
135
// items: [...] };
@@ -146,10 +146,14 @@ Put in your environment:
146
146
export DYNAMODB_SECRETACCESSKEY=YOURSECRETKEYID
147
147
export DYNAMODB_TEST_TABLE1=test
148
148
149
-
Make sure you have a `test` table created and available with `sha` as a hash key (string), then run:
149
+
Make sure you have a `test` table created and available with `sha` as a hash key (string). Make sure to select `Hash` as the `Primary Key Type`. Then run:
150
150
151
151
make test
152
152
153
+
If you are getting one of these errors:
154
+
155
+
*`User: ... is not authorized to perform: dynamodb:PutItem on resource` you need to add `AmazonDynamoDBFullAccess` to the user in [IAM policy editor](https://console.aws.amazon.com/iam/home).
0 commit comments