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

@@ -3,7 +3,7 @@ module "agents" {
for_each = local.agent_nodepools
name = "${var.use_cluster_name_in_node_name ? "${random_pet.cluster.id}-" : ""}${each.value.nodepool_name}"
name = "${var.use_cluster_name_in_node_name ? "${var.cluster_name}-" : ""}${each.value.nodepool_name}"
ssh_keys = [hcloud_ssh_key.k3s.id]
public_key = var.public_key
private_key = var.private_key