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

added compute keypair

parent fea08ed8
No related branches found
No related tags found
1 merge request!18Variable update branch
...@@ -2,8 +2,7 @@ data "openstack_networking_network_v2" "public-network" { ...@@ -2,8 +2,7 @@ data "openstack_networking_network_v2" "public-network" {
name = "${var.public-network-name}" name = "${var.public-network-name}"
} }
resource "openstack_compute_keypair_v2" "keypair" { data "openstack_compute_keypair_v2" "keypair" {
name = "${var.keypair-name}" name = "${var.keypair-name}"
public_key = "${file("~/.ssh/id_rsa.pub")}" public_key = "${var.ssh_public_key}"
} }
\ No newline at end of file
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