diff --git a/nodes/main.tf b/nodes/main.tf index 5fdb441aacee4bcd7c26596cc5d0be28ce5c2ef6..2c0b00dafb4d500c23c38a927da6dfedb92f3281 100644 --- a/nodes/main.tf +++ b/nodes/main.tf @@ -10,10 +10,8 @@ variable "key_pair" {type = "string"} variable "compute_node_count" { } variable "internal_network" {} - - # creates compute node -resource "openstack_compute_instance_v2" "c0" { +resource "openstack_compute_instance_v2" "compute" { depends_on = [var.internal_subnet_id] name = "c${count.index}" image_name = var.image_compute