Skip to content

Commit eb24d9a

Browse files
committed
feat(dynamodb): update resource id
1 parent 36b11eb commit eb24d9a

File tree

1 file changed

+1
-1
lines changed
  • packages/@aws-cdk/aws-dynamodb/lib/table-time-to-live-handler

1 file changed

+1
-1
lines changed

packages/@aws-cdk/aws-dynamodb/lib/table-time-to-live-handler/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function onEventHandler(event: OnEventRequest): Promise<OnEventResp
3434
}
3535

3636
console.log('Update table: %j', event.ResourceProperties.TableName);
37-
return { PhysicalResourceId: event.PhysicalResourceId ?? event.LogicalResourceId };
37+
return { PhysicalResourceId: event.ResourceProperties.TableName };
3838
}
3939

4040
return {};

0 commit comments

Comments
 (0)