Commit 51f861bb authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

updated to use ohpc instance name variable

parent 08826abc
......@@ -64,7 +64,7 @@ resource "openstack_networking_floatingip_v2" "ip_pool" {
# creates details for the OHPC instance using variables defined in vars.tf
resource "openstack_compute_instance_v2" "ohpc" {
depends_on = ["openstack_networking_subnet_v2.external_subnet"]
name = "ohpc"
name = "${var.ohpc-instance-name}"
image_name = "${var.image}"
flavor_name = "${var.flavor}"
key_pair = "${openstack_compute_keypair_v2.keypair.name}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment