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

5 lines
162 B
Terraform
Raw Normal View History

2023-11-05 19:19:04 +01:00
resource "openstack_compute_keypair_v2" "initial_ssh_key" {
name = var.ssh_key_file.name
public_key = "${file("${var.ssh_key_file.file}.pub")}"
}