I have a job spec file that I am working to improve. It has about 3000 lines of HCL code and is difficult to maintain. I looked on HashiCorp's documentation and not seeing how to break a job spec file into multiple files, i.e, break out the tasks, groups into separate files, etc. I am not seeing anything. I also asked ChatGPT and it gave me a solution that it admittingly said didnt exist after I asked ChatGPT to point me to the documentation on HashiCorp's site referencing the include parameter.
ChatGPT and the vendor documentation