diff --git a/infrastructure/versions.tf b/infrastructure/versions.tf index f32bdb8..634139d 100644 --- a/infrastructure/versions.tf +++ b/infrastructure/versions.tf @@ -1,6 +1,15 @@ terraform { required_version = ">= 0.14" + + cloud { + organization = "pkurfer" + + workspaces { + name = "hcloud-infra" + } + } + required_providers { hcloud = { source = "hetznercloud/hcloud" @@ -19,4 +28,4 @@ terraform { version = "~> 3.2.1" } } -} \ No newline at end of file +} diff --git a/infrastructure/vms.auto.tfvars b/infrastructure/vms.auto.tfvars index 7b4bfae..806ab82 100644 --- a/infrastructure/vms.auto.tfvars +++ b/infrastructure/vms.auto.tfvars @@ -1,9 +1,9 @@ k3os_workers = { - "worker1-gen4" = { + "worker1-gen5" = { backups = false node_type = "worker" - server_type = "cx31" - private_ip = "172.23.2.20" + server_type = "cx21" + private_ip = "172.23.2.23" location = "hel1" } @@ -14,6 +14,14 @@ k3os_workers = { private_ip = "172.23.2.21" location = "fsn1" } + + "worker3-gen4" = { + backups = false + node_type = "worker" + server_type = "cax21" + private_ip = "172.23.2.22" + location = "fsn1" + } } vms = {