Commit 05c60655 authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

Update main.tf

parent 870e763f
resource "openstack_compute_keypair_v2" "ohpc-keypair" {
name = "my-keypair"
}
# creates dmznet
resource "openstack_networking_network_v2" "dmznet" {
name = "dmznet"
......@@ -53,7 +57,7 @@ depends_on = ["openstack_networking_subnet_v2.dmzsubnet"]
name = "ohpc"
image_name = "${var.image}"
flavor_name = "${var.flavor}"
key_pair = "${var.key_pair}"
key_pair = "${openstack_compute_keypair_v2.ohpc-keypair.name}"
security_groups = ["default"]
# defines the networks of the instance
......
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