Skip to content

Commit

Permalink
add one server
Browse files Browse the repository at this point in the history
  • Loading branch information
NexusNull committed Dec 1, 2023
1 parent 98fdc77 commit 7d54d73
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cicd/infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ 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 "us_1_server" {
name = "US-I"
source = "./modules/al_server"
Expand Down Expand Up @@ -61,5 +73,6 @@ locals {
servers = [
module.us_1_server.details,
module.eu_1_server.details,
module.eu_2_server.details,
]
}

0 comments on commit 7d54d73

Please sign in to comment.