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 = [