X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=fdio.infra.terraform%2F1n_nmd%2Fnginx%2Fmain.tf;fp=fdio.infra.terraform%2F1n_nmd%2Fnginx%2Fmain.tf;h=0000000000000000000000000000000000000000;hb=323418862f22e5f057bd9c03432974fe5f139a8a;hp=fbd48bf645c2d598af6fa3fa1f48bcddb4c2fcbe;hpb=f60636c0db68b0d889cdd4c747cf628f396af963;p=csit.git diff --git a/fdio.infra.terraform/1n_nmd/nginx/main.tf b/fdio.infra.terraform/1n_nmd/nginx/main.tf deleted file mode 100644 index fbd48bf645..0000000000 --- a/fdio.infra.terraform/1n_nmd/nginx/main.tf +++ /dev/null @@ -1,18 +0,0 @@ -locals { - datacenters = join(",", var.nomad_datacenters) -} - -data "template_file" "nomad_job_nginx" { - template = file("${path.module}/conf/nomad/nginx.hcl") - vars = { - job_name = var.nginx_job_name - datacenters = local.datacenters - use_host_volume = var.nginx_use_host_volume - host_volume = var.nomad_host_volume - } -} - -resource "nomad_job" "nomad_job_nginx" { - jobspec = data.template_file.nomad_job_nginx.rendered - detach = false -} \ No newline at end of file