echoing-zebra-28421
08/19/2021, 2:46 PMerror: update failed
aws:dynamodb:Table (test-db-dev):
error: 1 error occurred:
colossal-plastic-46140
08/19/2021, 3:12 PMechoing-zebra-28421
08/19/2021, 3:20 PMconst attributes = [
{
name: "id",
type: "S",
},
{
name: "testId",
type: "S",
},
];
export const basicDynamodbTable: aws.dynamodb.Table = new aws.dynamodb.Table(
"test-db-dev",
{
attributes,
name: "test-db-dev",
billingMode: "PROVISIONED",
hashKey: "id",
globalSecondaryIndexes: [
{
hashKey: "testId",
name: "testId-index",
projectionType: "ALL",
readCapacity: 20,
writeCapacity: 20,
},
],
readCapacity: 20,
writeCapacity: 20,
},
);
little-cartoon-10569
08/19/2021, 10:00 PM