diff --git a/ssh-keys.yaml b/ssh-keys.yaml index b96ea1dd..45dad2ff 100644 --- a/ssh-keys.yaml +++ b/ssh-keys.yaml @@ -13,3 +13,5 @@ jrautiola: mkaapu: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJYpWmLovw4yIfjhWZ75PgtVfk9ZUcYHRLORcDltoufa mkaapu@nixzure - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE6WDXGfrD+WfY2+eP+/c4NrEOeCGpEOE2TcTlwxWXho marko.kaapu@unikie.com +mika: + - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKoroafXsrWkoLewJ7EYcHodqlYILV2T8xtRo6RL99vz mika@nixos diff --git a/terraform/jenkins-controller.tf b/terraform/jenkins-controller.tf index f0eaa9cd..8c607b6f 100644 --- a/terraform/jenkins-controller.tf +++ b/terraform/jenkins-controller.tf @@ -28,7 +28,7 @@ module "jenkins_controller_vm" { virtual_machine_custom_data = join("\n", ["#cloud-config", yamlencode({ users = [ - for user in toset(["bmg", "flokli", "hrosten", "jrautiola", "mkaapu"]) : { + for user in toset(["bmg", "flokli", "hrosten", "jrautiola", "mkaapu", "mika"]) : { name = user sudo = "ALL=(ALL) NOPASSWD:ALL" ssh_authorized_keys = local.ssh_keys[user]