Fix typo in instance name

This commit is contained in:
Magnus Andersson 2024-05-23 13:43:36 +02:00
parent 2bd36bb9a1
commit 98f0256f40
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

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