Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tibordp committed May 7, 2023
1 parent c3fbe9c commit fb2863d
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ module "simple_cluster" {
}

module "simple_worker_node" {
source = "./../modules/worker-node"
version = "2.0.0"
source = "./../modules/worker-node"

cluster = module.simple_cluster

Expand All @@ -47,20 +46,19 @@ module "simple_worker_node" {
module "ha_cluster" {
source = "./.."

name = "ha"
hcloud_ssh_key = hcloud_ssh_key.key.id
hcloud_token = var.hetzner_token
location = "hel1"
server_type = "cx21"
name = "ha"
hcloud_ssh_key = hcloud_ssh_key.key.id
hcloud_token = var.hetzner_token
location = "hel1"
server_type = "cx21"

load_balancer_type = "lb11"

node_count = 2
}

module "ha_worker_node" {
source = "./../modules/worker-node"
version = "2.0.0"
source = "./../modules/worker-node"

cluster = module.ha_cluster

Expand All @@ -72,7 +70,6 @@ module "ha_worker_node" {
}



# GitHub Actions does not support IPv6 connectivity, so we need to hack the server endpoints
output "simple_cluster" {
value = replace(
Expand Down

0 comments on commit fb2863d

Please sign in to comment.