Skip to content
Snippets Groups Projects
Commit 346c574a authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

fixed key pair vars

parent 075324a6
No related branches found
No related tags found
No related merge requests found
variable "ohpc_instance_name" {default = "string"}
variable "image_ohpc" {default = "string"}
variable "flavor" {default = "string"}
variable "keypair_name" {default = "string"}
variable "key_pair" {default = "string"}
variable "internal_net" {default = "string"}
variable "external_net" {default = "string"}
variable "floating_ip_ohpc" {type = string}
......@@ -16,7 +16,7 @@ resource "openstack_compute_instance_v2" "ohpc" {
name = var.ohpc_instance_name
image_name = var.image_ohpc
flavor_name = var.flavor
key_pair = openstack_compute_keypair_v2.keypair.name
key_pair = var.key_pair
security_groups = ["default"]
# defines the networks of the instance
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment