diff --git a/main.tf b/main.tf index 1ebc1927af63241b316bc898518c00ab56c3c3e2..4aba962112d82241269670223ba5839e09f789fe 100644 --- a/main.tf +++ b/main.tf @@ -57,7 +57,7 @@ depends_on = ["openstack_networking_subnet_v2.dmzsubnet"] name = "ohpc" image_name = "${var.image}" flavor_name = "${var.flavor}" - key_pair = "${var.ssh_key_private}" + key_pair = "${var.key_pair}" security_groups = ["default"] # defines the networks of the instance