From 8781769067a593bc8f535434df30cb68ff291035 Mon Sep 17 00:00:00 2001 From: james-otten Date: Sat, 1 Jun 2024 22:39:48 -0400 Subject: [PATCH] rm unused --- infra/tf/mgr.tf | 10 ---------- infra/tf/vars.tf | 4 ++++ infra/tf/workers.tf | 4 ---- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/infra/tf/mgr.tf b/infra/tf/mgr.tf index 75db9e0a..ef4b20f6 100644 --- a/infra/tf/mgr.tf +++ b/infra/tf/mgr.tf @@ -1,9 +1,3 @@ -resource "null_resource" "ssh_key" { - provisioner "local-exec" { - command = "bash ${path.module}/gen_ssh_key.sh ${var.meshdb_env_name}" - } -} - resource "proxmox_vm_qemu" "meshdbmgr" { count = 1 @@ -55,8 +49,4 @@ resource "proxmox_vm_qemu" "meshdbmgr" { } tags = "meshdb${var.meshdb_env_name}" - - depends_on = [ - null_resource.ssh_key - ] } diff --git a/infra/tf/vars.tf b/infra/tf/vars.tf index b1da38ae..f176c5ca 100644 --- a/infra/tf/vars.tf +++ b/infra/tf/vars.tf @@ -56,6 +56,10 @@ variable "meshdb_ips" { description = "static IPs to use for nodes" } +variable "meshdb_lb_ip" { + description = "static IP to use for k8s lb" +} + variable "meshdb_gateway" { description = "default gateway to use for nodes" default = "10.70.90.1" diff --git a/infra/tf/workers.tf b/infra/tf/workers.tf index 27968952..115b47d5 100644 --- a/infra/tf/workers.tf +++ b/infra/tf/workers.tf @@ -49,9 +49,5 @@ resource "proxmox_vm_qemu" "meshdbnode" { } tags = "meshdb${var.meshdb_env_name}" - - depends_on = [ - null_resource.ssh_key - ] }