aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-nomad-vpp-device/variables.tf
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2024-01-25 07:37:31 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2024-01-25 07:44:34 +0000
commit6067078db338b930972ad6f183a4c75d2cf9214a (patch)
treeeb93118dc9c6a2b3ee742a5e4914e061ec581c65 /fdio.infra.terraform/terraform-nomad-vpp-device/variables.tf
parent7b03d44e6761ee27a0fead3401f9b2d04d95f709 (diff)
feat(terraform): Migrating old structures
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ib953739b4d34a7f803bff54cec92a2130fcbbc66
Diffstat (limited to 'fdio.infra.terraform/terraform-nomad-vpp-device/variables.tf')
-rw-r--r--fdio.infra.terraform/terraform-nomad-vpp-device/variables.tf43
1 files changed, 43 insertions, 0 deletions
diff --git a/fdio.infra.terraform/terraform-nomad-vpp-device/variables.tf b/fdio.infra.terraform/terraform-nomad-vpp-device/variables.tf
new file mode 100644
index 0000000000..0a11e1da3b
--- /dev/null
+++ b/fdio.infra.terraform/terraform-nomad-vpp-device/variables.tf
@@ -0,0 +1,43 @@
+# Nomad
+variable "datacenters" {
+ description = "Specifies the list of DCs to be considered placing this task"
+ type = list(string)
+ default = ["dc1"]
+}
+
+# CSIT SHIM
+variable "job_name" {
+ description = "CSIT SHIM job name"
+ type = string
+ default = "prod-csit-shim"
+}
+
+variable "group_count" {
+ description = "Number of CSIT SHIM group instances"
+ type = number
+ default = 1
+}
+
+variable "cpu" {
+ description = "CSIT SHIM task CPU"
+ type = number
+ default = 2000
+}
+
+variable "memory" {
+ description = "CSIT SHIM task memory"
+ type = number
+ default = 10000
+}
+
+variable "image_aarch64" {
+ description = "CSIT SHIM AARCH64 docker image"
+ type = string
+ default = "fdiotools/csit_shim-ubuntu2004:prod-aarch64"
+}
+
+variable "image_x86_64" {
+ description = "CSIT SHIM X86_64 docker image"
+ type = string
+ default = "fdiotools/csit_shim-ubuntu2004:prod-x86_64"
+} \ No newline at end of file