mirror of
https://github.com/kasmtech/terraform.git
synced 2026-01-23 10:25:48 +00:00
4 lines
No EOL
202 B
HCL
4 lines
No EOL
202 B
HCL
resource "aws_key_pair" "ssh_keys" {
|
|
key_name = "${var.project_name}-ssh-key"
|
|
public_key = var.ssh_authorized_keys == "" ? tls_private_key.ssh_key[0].public_key_openssh : var.ssh_authorized_keys
|
|
} |