include "root" { path = find_in_parent_folders("root.hcl") expose = true } include "config" { path = "${get_repo_root()}/config/config.hcl" expose = true } locals { config = include.config.locals.config } terraform { source = "../../modules/sonarr" } inputs = { custom_formats = local.config.custom_formats quality_profiles = local.config.quality_profiles download_clients = local.config.download_clients indexers = local.config.indexers notifications = local.config.notifications delay_profiles = local.config.delay_profiles root_folders = local.config.root_folders }