infrastructure-as-code/openstack-tf/modules/ssh_keys/ssh-keys.tf

5 lines
151 B
Terraform
Raw Normal View History

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