great-postman-59271
11/09/2021, 1:51 PMerror: 1 error occurred:
* updating urn:pulumi:dev::ThreeShape.Olympus.Auth.Infrastructure::aws:dynamodb/tableItem:TableItem::IntegrationTestAccessKey: 1 error occurred:
* Error retrieving DynamoDB table item: SerializationException:
status code: 400, request id: 1AE7FL7RD378QAOE1745B5TCDVVV4KQNSO5AEMVJF66Q9ASUAAJG
I have tried the example code here, and that works fine. Have anyone else experienced this?billowy-army-68599
11/09/2021, 2:50 PMgreat-postman-59271
11/09/2021, 3:12 PMvar exampleTable = new Table("exampleTable", new TableArgs
{
ReadCapacity = 10,
WriteCapacity = 10,
HashKey = "exampleHashKey",
Attributes =
{
new TableAttributeArgs
{
Name = "exampleHashKey",
Type = "S",
},
},
});
var exampleTableItem = new TableItem("exampleTableItem", new TableItemArgs
{
TableName = exampleTable.Name,
HashKey = "SomeKey",
Item = @"{
""exampleHashKey"": {""S"": ""something""},
""one"": {""N"": ""11111""},
""two"": {""N"": ""22222""},
""three"": {""N"": ""33333""},
""four"": {""N"": ""44444""}
}
",
});
Note the only difference is the value of the HashKey property for TableItembillowy-army-68599
11/09/2021, 3:20 PMgreat-postman-59271
11/10/2021, 7:28 AM