From 98f0256f4064f5845def573fd0739ac2fe8f979f Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Thu, 23 May 2024 13:43:36 +0200 Subject: [PATCH] Fix typo in instance name --- IaC/nodes.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IaC/nodes.tf b/IaC/nodes.tf index 68a3334..8073891 100644 --- a/IaC/nodes.tf +++ b/IaC/nodes.tf @@ -85,7 +85,7 @@ resource "openstack_blockstorage_volume_v3" "kubewvolumeboot" { resource "openstack_compute_instance_v2" "worker-nodes" { count = var.worker_instance_count - name = "${var.worker_name}-${count.index}.${var.dns_suffix}" + name = "${var.worker_name}${count.index+1}.${var.dns_suffix}" flavor_name = "${var.worker_instance_type}" key_pair = "${var.keyname}" security_groups = [