provider "nomad" { # For some reason nomad is binding to the tailscale IP but not the (local) IP that we get for the same hostname address = "http://jaglan-beta-m01:4646" } # Define a Nomad job for a Hello World service resource "nomad_job" "app" { jobspec = <Hello, Nomad! EOF destination = "local/index.html" } # Specify the maximum resources required to run the task resources { cpu = 50 memory = 64 } } } } EOT }