Merging files using Terraform

Hi all,

For context, I’m working with the AWS provider and trying to import an Open API specification.

This specification is split across multiple files. Given that AWS API Gateway doesn’t support using multiple files, is there any way to merge files within terraform, either natively or using a third-party provider/tool?

Any help appreciated.

Thanks,
Sean.