terraform { required_version = "~> 1.3.5" required_providers { docker = { source = "kreuzwerker/docker" version = "2.24.0" } sops = { source = "lokkersp/sops" version = "0.6.10" } template = { source = "hashicorp/template" version = "2.2.0" } } } locals { ansible_host = "conflatorio" hostname = "conflatorio.vpn.trygvis.io" influx_url = "https://influxdb.vpn.trygvis.io" influx_token = data.sops_file.vault.data["influx_token"] influx_organization = "trygvis" influx_bucket = "telegraf-lhn2ix" } provider "docker" { host = "ssh://${local.hostname}" } data "sops_file" "vault" { source_file = "vault.yml" }