tweaked traefik name to align with the rest of the ressources

This commit is contained in:
Karim Naufal
2022-03-05 03:23:42 +01:00
parent 34eb575223
commit b2d160f33a
3 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ resource "hcloud_placement_group" "k3s" {
data "hcloud_load_balancer" "traefik" {
count = local.is_single_node_cluster ? 0 : 1
name = "traefik-${random_pet.cluster.id}"
name = "k3s-${random_pet.cluster.id}-traefik"
depends_on = [null_resource.kustomization]
}