aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-nomad-vpp-device/fdio
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.terraform/terraform-nomad-vpp-device/fdio')
-rw-r--r--fdio.infra.terraform/terraform-nomad-vpp-device/fdio/main.tf11
-rw-r--r--fdio.infra.terraform/terraform-nomad-vpp-device/fdio/versions.tf12
2 files changed, 15 insertions, 8 deletions
diff --git a/fdio.infra.terraform/terraform-nomad-vpp-device/fdio/main.tf b/fdio.infra.terraform/terraform-nomad-vpp-device/fdio/main.tf
index 96666e6e89..a6217d781f 100644
--- a/fdio.infra.terraform/terraform-nomad-vpp-device/fdio/main.tf
+++ b/fdio.infra.terraform/terraform-nomad-vpp-device/fdio/main.tf
@@ -6,10 +6,11 @@ module "vpp-device" {
# nomad
datacenters = ["yul1"]
- job_name = "prod-device-csit-shim"
- group_count = "1"
- cpu = "1500"
- memory = "4096"
+ job_name = "device-shim"
+ group_count = 1
+ cpu = 1500
+ memory = 4096
image_aarch64 = "fdiotools/csit_shim-ubuntu2004:2021_03_02_143938_UTC-aarch64"
image_x86_64 = "fdiotools/csit_shim-ubuntu2004:2021_03_04_142103_UTC-x86_64"
-} \ No newline at end of file
+}
+
diff --git a/fdio.infra.terraform/terraform-nomad-vpp-device/fdio/versions.tf b/fdio.infra.terraform/terraform-nomad-vpp-device/fdio/versions.tf
index 82b792fd72..fc5a3ab12d 100644
--- a/fdio.infra.terraform/terraform-nomad-vpp-device/fdio/versions.tf
+++ b/fdio.infra.terraform/terraform-nomad-vpp-device/fdio/versions.tf
@@ -1,9 +1,15 @@
terraform {
+ backend "consul" {
+ address = "10.30.51.23:8500"
+ scheme = "http"
+ path = "terraform/device-csit-shim"
+ }
required_providers {
nomad = {
source = "hashicorp/nomad"
- version = ">= 1.4.19"
+ version = ">= 1.4.20"
}
}
- required_version = ">= 1.3.7"
-} \ No newline at end of file
+ required_version = ">= 1.5.4"
+}
+