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

Update main.tf

parent 6d6f6e94
No related branches found
No related tags found
1 merge request!18Variable update branch
resource "openstack_compute_keypair_v2" "keypair" {
name = "${var.keypair-name}"
public_key = "${var.ssh_public_key}"
}
#local variable for ssh connect to ohpc #local variable for ssh connect to ohpc
#locals { #locals {
# connection = { # connection = {
...@@ -62,7 +67,7 @@ depends_on = ["openstack_networking_subnet_v2.dmzsubnet"] ...@@ -62,7 +67,7 @@ depends_on = ["openstack_networking_subnet_v2.dmzsubnet"]
name = "ohpc" name = "ohpc"
image_name = "${var.image}" image_name = "${var.image}"
flavor_name = "${var.flavor}" flavor_name = "${var.flavor}"
key_pair = "${data.openstack_compute_keypair_v2.keypair.name}" key_pair = "${openstack_compute_keypair_v2.keypair.name}"
security_groups = ["default"] security_groups = ["default"]
# defines the networks of the instance # 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