Skip to content

Commit

Permalink
rm unused
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Jun 2, 2024
1 parent bb83ff6 commit 8781769
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
10 changes: 0 additions & 10 deletions infra/tf/mgr.tf
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -55,8 +49,4 @@ resource "proxmox_vm_qemu" "meshdbmgr" {
}

tags = "meshdb${var.meshdb_env_name}"

depends_on = [
null_resource.ssh_key
]
}
4 changes: 4 additions & 0 deletions infra/tf/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions infra/tf/workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,5 @@ resource "proxmox_vm_qemu" "meshdbnode" {
}

tags = "meshdb${var.meshdb_env_name}"

depends_on = [
null_resource.ssh_key
]
}

0 comments on commit 8781769

Please sign in to comment.