feat: remove old home-cloud cluster

This commit is contained in:
Julian Tölle 2022-11-12 13:25:36 +01:00
parent 72b5422954
commit 66391e6224
2 changed files with 1 additions and 29 deletions

22
main.tf
View file

@ -2,26 +2,6 @@ locals {
cluster_name = "home-cloud" cluster_name = "home-cloud"
} }
module "k3s_cluster" {
source = "./k3s_cluster"
name = local.cluster_name
server_image = "ubuntu-18.04"
server_location = "nbg1"
control_server_type = "cx21"
compute_server_type = "cx21"
compute_count = 1
domain = "c.apricote.de"
letsencrypt_email = "julian.toelle97+le@gmail.com"
ssh_keys = [file("./keys/id_terraform")]
hcloud_csi_driver_token = var.hcloud_csi_driver_token
flux_git_url = "git@github.com:apricote/home-cloud-flux"
providers = {
hcloud = hcloud
}
}
module "k3s_cluster_v2" { module "k3s_cluster_v2" {
source = "./k3s_cluster_v2" source = "./k3s_cluster_v2"
@ -46,7 +26,7 @@ module "k3s_cluster_v2" {
branch = "main" branch = "main"
repository_visibility = "private" repository_visibility = "private"
target_path = "" target_path = ""
flux_version = "v0.31.1" flux_version = "v0.36.0"
providers = { providers = {
hcloud = hcloud hcloud = hcloud

View file

@ -1,11 +1,3 @@
output "cluster_public_ip" {
value = module.k3s_cluster.server_public_ip
}
output "cluster_name" {
value = local.cluster_name
}
output "summary" { output "summary" {
value = module.k3s_cluster_v2.summary value = module.k3s_cluster_v2.summary
} }