Strategies to work around 30 sec timeout
A variation of method 2 is infinitely scalable:


write the data to s3.
from s3 trigger lambda to break s3 file into sqs queue events of good size
from sqs queue trigger lambdas to insert
sqs can be fifo queue if it matters.