From 87d3e5d1b450616b5b4498b74bf9c347f63bf81c Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Tue, 27 Aug 2019 16:15:24 -0500 Subject: [PATCH] Change compute source name c0 to compute --- nodes/main.tf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nodes/main.tf b/nodes/main.tf index 5fdb441..2c0b00d 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 -- GitLab