Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set SSH keys in cloud init #10

Merged
merged 3 commits into from
Jan 21, 2024
Merged

Set SSH keys in cloud init #10

merged 3 commits into from
Jan 21, 2024

Conversation

mraerino
Copy link
Member

@mraerino mraerino commented Jan 21, 2024

Fetch public SSH keys from GitHub for a list of users and sets them in the VMs via cloud-init

This comment has been minimized.

This comment has been minimized.

Copy link

🏗️ Terraform Plan

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.supernode[0].proxmox_vm_qemu.supernode will be updated in-place
  ~ resource "proxmox_vm_qemu" "supernode" {
        id                        = "pm2/qemu/119"
        name                      = "supernode-dev-0"
      + sshkeys                   = <<-EOT
            ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAGYe68nOalzIFaugGkuUrQFPxtKFDDhaN/S/W7Viz3K2pVV78BfkAu5gi78b7kYWCIT/wrl6u8S9VtTVl6QCjy7KwHmjqLj/3W2DVkTIbSFv0VVpsG45ILFkkeqNwjuEXqZyxXFgAZvvHRkJO/3t79LLWcXi324+bUrQcE+Qxfr20GQZg==
            ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN9C1hWDBL9driOUQhemBqYUFA1I7VM1UYt5ZDnIynZa
            ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJHQFe5F5okyt3Oo70cSeZTyUs9c6DFEw3a3jSmtpg+B
            ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsGlElGJxP1/Mr1AhoZsWQn7N8+cZNA3lMd8HPDHRQj
        EOT
        # (38 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

  # module.supernode[1].proxmox_vm_qemu.supernode will be updated in-place
  ~ resource "proxmox_vm_qemu" "supernode" {
        id                        = "pm2/qemu/120"
        name                      = "supernode-dev-1"
      + sshkeys                   = <<-EOT
            ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAGYe68nOalzIFaugGkuUrQFPxtKFDDhaN/S/W7Viz3K2pVV78BfkAu5gi78b7kYWCIT/wrl6u8S9VtTVl6QCjy7KwHmjqLj/3W2DVkTIbSFv0VVpsG45ILFkkeqNwjuEXqZyxXFgAZvvHRkJO/3t79LLWcXi324+bUrQcE+Qxfr20GQZg==
            ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN9C1hWDBL9driOUQhemBqYUFA1I7VM1UYt5ZDnIynZa
            ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJHQFe5F5okyt3Oo70cSeZTyUs9c6DFEw3a3jSmtpg+B
            ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsGlElGJxP1/Mr1AhoZsWQn7N8+cZNA3lMd8HPDHRQj
        EOT
        # (38 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

Plan: 0 to add, 2 to change, 0 to destroy.

@mraerino mraerino merged commit d8ea8cf into main Jan 21, 2024
2 checks passed
@mraerino mraerino deleted the feat/vm-auth branch January 21, 2024 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant