landingzone/80-keypair.tf

6 lines
162 B
HCL

// keypair adding to the server
resource "stackit_key_pair" "keypair" {
name = "pubkeyforauth"
public_key = chomp(file("/root/.ssh/id_ed25519.pub"))
}