From 16c970397fca0d7c1e08b20e9119355423da5ad9 Mon Sep 17 00:00:00 2001 From: Lens0021 / Leslie Date: Sat, 2 Mar 2024 07:03:34 +0900 Subject: [PATCH] terraform: hcl2 is now default (#204) --- terraform/backupbot.tf | 1 - terraform/mediawiki.tf | 4 ---- terraform/vector.tf | 1 - terraform/volumes.tf | 2 -- 4 files changed, 8 deletions(-) diff --git a/terraform/backupbot.tf b/terraform/backupbot.tf index d639d53a..386fc321 100644 --- a/terraform/backupbot.tf +++ b/terraform/backupbot.tf @@ -5,7 +5,6 @@ resource "nomad_job" "backupbot" { jobspec = file("../jobs/backupbot.nomad") hcl2 { - enabled = true allow_fs = true } } diff --git a/terraform/mediawiki.tf b/terraform/mediawiki.tf index cd886903..9bb0eefe 100644 --- a/terraform/mediawiki.tf +++ b/terraform/mediawiki.tf @@ -8,7 +8,6 @@ resource "nomad_job" "mysql" { detach = false hcl2 { - enabled = true allow_fs = true } } @@ -18,7 +17,6 @@ resource "nomad_job" "memcached" { detach = false hcl2 { - enabled = true allow_fs = true } } @@ -33,7 +31,6 @@ resource "nomad_job" "fastcgi" { detach = false hcl2 { - enabled = true allow_fs = true } } @@ -48,7 +45,6 @@ resource "nomad_job" "http" { detach = false hcl2 { - enabled = true allow_fs = true } } diff --git a/terraform/vector.tf b/terraform/vector.tf index 75389e9f..62fbf34c 100644 --- a/terraform/vector.tf +++ b/terraform/vector.tf @@ -10,7 +10,6 @@ resource "nomad_job" "vector" { jobspec = replace(file("../jobs/vector.nomad"), "OPENOBSERVE_PASSWORD", var.openobserve_password) hcl2 { - enabled = true allow_fs = true } } diff --git a/terraform/volumes.tf b/terraform/volumes.tf index 3b746d24..26c4b4cc 100644 --- a/terraform/volumes.tf +++ b/terraform/volumes.tf @@ -2,7 +2,6 @@ resource "nomad_job" "plugin-ebs-controller" { jobspec = file("../jobs/plugin-ebs-controller.nomad") hcl2 { - enabled = true allow_fs = true } } @@ -11,7 +10,6 @@ resource "nomad_job" "plugin-ebs-nodes" { jobspec = file("../jobs/plugin-ebs-nodes.nomad") hcl2 { - enabled = true allow_fs = true } }