add random pet names for cluster & nodes

This commit is contained in:
phaer
2022-03-04 22:04:07 +01:00
parent b0b616c4da
commit 5cf6f9eef4
6 changed files with 26 additions and 9 deletions

View File

@@ -94,6 +94,7 @@ resource "null_resource" "kustomization" {
content = local.is_single_node_cluster ? "" : templatefile(
"${path.module}/templates/traefik_config.yaml.tpl",
{
cluster_pet_name = random_pet.cluster.id
load_balancer_disable_ipv6 = var.load_balancer_disable_ipv6
load_balancer_type = var.load_balancer_type
location = var.location