From bb36acbed0ae6b55891fc47cdaabd058600c5150 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Sun, 11 Sep 2022 20:31:08 +0200 Subject: [PATCH] chore(infra): add missing tfvars --- .gitignore | 1 - infrastructure/vms.auto.tfvars | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 infrastructure/vms.auto.tfvars diff --git a/.gitignore b/.gitignore index 2f1f4f8..b4544f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -*.tfvars *.tfstate *.tfstate.backup *.lock.hcl diff --git a/infrastructure/vms.auto.tfvars b/infrastructure/vms.auto.tfvars new file mode 100644 index 0000000..a64c6ee --- /dev/null +++ b/infrastructure/vms.auto.tfvars @@ -0,0 +1,20 @@ +vms = { + "cp1" = { + node_type = "control-plane" + server_type = "cpx11", + backups = true, + private_ip = "172.23.2.10" + }, + "worker1" = { + node_type = "worker" + server_type = "cpx21" + backups = false, + private_ip = "172.23.2.20" + }, + "worker2" = { + node_type = "worker" + server_type = "cpx21" + backups = false, + private_ip = "172.23.2.21" + } +}