diff --git a/cicd/infra/main.tf b/cicd/infra/main.tf index f42bec7e..d8e40160 100644 --- a/cicd/infra/main.tf +++ b/cicd/infra/main.tf @@ -22,80 +22,6 @@ module "eu_1_server" { } } -module "eu_2_server" { - name = "EU-II" - source = "./modules/al_server" - datacenter = "nbg1-dc3" - hcloud_token = var.hcloud_token - ssh_keys = data.hcloud_ssh_keys.admin.ssh_keys.*.name - server = { - enabled = true - region = "EU" - name = "II" - } -} - -module "eu_3_server" { - name = "EU-III" - source = "./modules/al_server" - datacenter = "nbg1-dc3" - hcloud_token = var.hcloud_token - ssh_keys = data.hcloud_ssh_keys.admin.ssh_keys.*.name - server = { - enabled = true - region = "EU" - name = "III" - } -} -module "eu_4_server" { - name = "EU-IIII" - source = "./modules/al_server" - datacenter = "nbg1-dc3" - hcloud_token = var.hcloud_token - ssh_keys = data.hcloud_ssh_keys.admin.ssh_keys.*.name - server = { - enabled = true - region = "EU" - name = "IIII" - } -} -module "eu_5_server" { - name = "EU-IIIII" - source = "./modules/al_server" - datacenter = "nbg1-dc3" - hcloud_token = var.hcloud_token - ssh_keys = data.hcloud_ssh_keys.admin.ssh_keys.*.name - server = { - enabled = true - region = "EU" - name = "IIIII" - } -} -module "eu_6_server" { - name = "EU-IIIIII" - source = "./modules/al_server" - datacenter = "nbg1-dc3" - hcloud_token = var.hcloud_token - ssh_keys = data.hcloud_ssh_keys.admin.ssh_keys.*.name - server = { - enabled = true - region = "EU" - name = "IIIIII" - } -} -module "eu_7_server" { - name = "EU-IIIIIII" - source = "./modules/al_server" - datacenter = "nbg1-dc3" - hcloud_token = var.hcloud_token - ssh_keys = data.hcloud_ssh_keys.admin.ssh_keys.*.name - server = { - enabled = true - region = "EU" - name = "IIIIIII" - } -} - module "us_1_server" { name = "US-I" source = "./modules/al_server" @@ -135,11 +61,5 @@ locals { servers = [ module.us_1_server.details, module.eu_1_server.details, - module.eu_2_server.details, - module.eu_3_server.details, - module.eu_4_server.details, - module.eu_5_server.details, - module.eu_6_server.details, - module.eu_7_server.details, ] } \ No newline at end of file