include "root" { path = find_in_parent_folders("root.hcl") } inputs = { job_files = [ "testapp1", "testapp2", "app-sudaporn-research-normalised", ] policy_files = [] } generate "shared_modules" { if_exists = "overwrite" path = "modules.tf" # Dynamically include the shared/modules.tf content contents = file("../../shared/modules.tf") } generate "shared_variables" { if_exists = "overwrite" path = "variables.tf" # Dynamically include the shared/variables.tf content contents = file("../../shared/variables.tf") }