locals { persistent_folder = var.persistent_folder m3uproxy_version = var.tag m3uproxy_fqdn = var.fqdn wireguard_version = "1.0.20210914-r4-ls54" squid_version = "6.1-23.10_edge" geoip_image = "maxmindinc/geoipupdate" geoip_version = "latest" geoip_cron_schedule = var.geoip_cron_schedule geoip_editions = var.geoip_editions m3uproxy_path = "${local.persistent_folder}/m3uproxy" m3uproxy_cache_path = "${local.m3uproxy_path}/cache" squid_app_path = "${local.m3uproxy_path}/squid" geoip_path = "${local.m3uproxy_path}/geoip" wireguard_address = "192.168.5.3/32" wireguard_dns = "192.168.5.1" wireguard_allowed_ips = [ "192.168.5.1/32", "192.168.5.3/32", "0.0.0.0/0" ] wireguard_endpoint = "188.82.170.183" wireguard_endpoint_port = 1195 m3uproxy_config = templatefile("${path.module}/resources/m3uproxy/m3uproxy.json", { m3uproxy_secret = var.secret }) }