infrastructure-as-code/openstack-tf/common_setups/ssh-keys.tf

5 lines
162 B
HCL

resource "openstack_compute_keypair_v2" "initial_ssh_key" {
name = var.ssh_key_file.name
public_key = "${file("${var.ssh_key_file.file}.pub")}"
}