Creating kinesis analytic application for sql application

Hi, I am looking to create kinesis application using this piece of block.

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kinesis_analytics_application#schema

I was able to pass sql code with file option. Same doesn’t work with schema block here . Any suggestions on how to generate the schema block from file that I define for each db table