changed the cluster name to manual

This commit is contained in:
Karim Naufal
2022-03-09 05:19:06 +01:00
parent cf15aef059
commit f20ac7c8d5
7 changed files with 19 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ module "control_planes" {
source = "./modules/host"
count = var.control_plane_count
name = "${var.use_cluster_name_in_node_name ? "${random_pet.cluster.id}-" : ""}control-plane"
name = "${var.use_cluster_name_in_node_name ? "${var.cluster_name}-" : ""}control-plane"
ssh_keys = [hcloud_ssh_key.k3s.id]
public_key = var.public_key
private_key = var.private_key