Terraform Cloud: adding JSON Formatted Terraform to a configuration

Hi,

I’ve been exploring using Terraform Cloud for a project I’ve been working on. I wanted to use the API Path, but am now stuck with the following.

Is there any way for me to upload a new configuration that is a single JSON file? I am using some tooling that creates a single json file as my output.

I’d like this to just be a POST with the json, if that were possible, but if it needed to be, would it be ok to include this json file in the tar.gz that is recommended from the docs?

Thanks for any help you can provide,
Tom