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

Updating CloudInit SSH Keys forces a recreation of the VM #513

Open
joaogl opened this issue Dec 27, 2024 · 0 comments
Open

Updating CloudInit SSH Keys forces a recreation of the VM #513

joaogl opened this issue Dec 27, 2024 · 0 comments

Comments

@joaogl
Copy link

joaogl commented Dec 27, 2024

Hello

It seems if we update the ssh keys of the cloud init, instead of just updating it, it is fully recreating the VM.

pulumi:pulumi:Stack: (same)
    [urn=urn:pulumi:initial::initial-infra::pulumi:pulumi:Stack::initial-infra-initial]
    --proxmoxve:VM/virtualMachine:VirtualMachine: (delete-replaced)
        [id=101]
        [urn=urn:pulumi:initial::initial-infra::proxmoxve:VM/virtualMachine:VirtualMachine::github-worker-github-worker]
        [provider=urn:pulumi:initial::initial-infra::pulumi:providers:proxmoxve::pve::aeee53bf-75c6-40b0-985e-e6d1d518c025]
    +-proxmoxve:VM/virtualMachine:VirtualMachine: (replace)
        [id=101]
        [urn=urn:pulumi:initial::initial-infra::proxmoxve:VM/virtualMachine:VirtualMachine::github-worker-github-worker]
        [provider=urn:pulumi:initial::initial-infra::pulumi:providers:proxmoxve::pve::aeee53bf-75c6-40b0-985e-e6d1d518c025]
      ~ initialization: {
          ~ userAccount: {
              ~ keys: [
                  ~ [1]: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGQ6S8R8ZbOd6fgsVxZQBuBYk7yMq0luzOK1pbhPlJ4e [email protected]" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAuoVTmalUHL9T7FM/hjISOzfJNu/jTi1FkCM9+JaP6KHsfYqpS0+33FEVZkPE/uqGT+jm75NEPCfgnYZvkz4l4K7F1wOPPq3cXCTwBv/ga0Xn38AdFC0VUJglVnf2c6x jlourenco"
                  - [2]: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABalUHL9T7FM/hjISOzfJNu/jTi1FkCM9+JaP6KHsfYqpS0+33FEVZkPE/uqGT+jm75NEPCfgnYZvkz4l4K7F1wOPPq3cXCTwBv/ga0Xn38AdFC0VUJglVnf2c6x jlourenco"
                ]
            }
        }
    ++proxmoxve:VM/virtualMachine:VirtualMachine: (create-replacement)
        [id=101]
        [urn=urn:pulumi:initial::initial-infra::proxmoxve:VM/virtualMachine:VirtualMachine::github-worker-github-worker]
        [provider=urn:pulumi:initial::initial-infra::pulumi:providers:proxmoxve::pve::aeee53bf-75c6-40b0-985e-e6d1d518c025]
      ~ initialization: {
          ~ userAccount: {
              ~ keys: [
                  ~ [1]: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGQ6S8R8ZbOd6fgsVxZQBuBYk7yMq0luzOK1pbhPlJ4e [email protected]" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAkRDBkJ+7vJgz2IJaR08uV8Uia8izAGfLj3EaPG95OXbN0Mqq2G9sgGNqkfVk7MQqGahnbpqL/BG1VRJEijQwJI32iqzy0FlxZSyuoVTmalUHL9T7FM/hjISOzfJNu/jTi1FkCM9+JaP6KHsfYqpS0+33FEVZkPE/uqGT+jm75NEPCfgnYZvkz4l4K7F1wOPPq3cXCTwBv/ga0Xn38AdFC0VUJglVnf2c6x jlourenco"
                  - [2]: "ssh-rsa AAAAB3NzaC1yc2EAAAAOzfJNu/jTi1FkCM9+JaP6KHsfYqpS0+33FEVZkPE/uqGT+jm75NEPCfgnYZvkz4l4K7F1wOPPq3cXCTwBv/ga0Xn38AdFC0VUJglVnf2c6x jlourenco"
                ]
            }
        }
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

No branches or pull requests

1 participant