An AWS Glue crawler makes this process easy. After you upload the data into the raw zone, the Amazon S3 trigger that you created earlier invokes the GlueTriggerLambdafunction(give it you own name).
module "glue_workflows" { source = "page-o/glue-workflows/aws" workflow = { name = "${local.env}-${local.project}-glue-workflow" description = "Sample" } event ...