Fix typo in instance name
This commit is contained in:
parent
2bd36bb9a1
commit
98f0256f40
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue