diff --git a/packages/@aws-cdk/aws-dynamodb/test/dynamodb.test.ts b/packages/@aws-cdk/aws-dynamodb/test/dynamodb.test.ts index 990e9bcd42094..01fa03d83d1bd 100644 --- a/packages/@aws-cdk/aws-dynamodb/test/dynamodb.test.ts +++ b/packages/@aws-cdk/aws-dynamodb/test/dynamodb.test.ts @@ -1112,7 +1112,7 @@ test('error when adding a global secondary index with projection type KEYS_ONLY, })).toThrow(/non-key attributes should not be specified when not using INCLUDE projection type/); }); -test('error when adding a global secondary index with projection type INCLUDE, but with more than 20 non-key attributes', () => { +test('error when adding a global secondary index with projection type INCLUDE, but with more than 100 non-key attributes', () => { const stack = new Stack(); const table = new Table(stack, CONSTRUCT_NAME, { partitionKey: TABLE_PARTITION_KEY, sortKey: TABLE_SORT_KEY }); const gsiNonKeyAttributeGenerator = NON_KEY_ATTRIBUTE_GENERATOR(GSI_NON_KEY);