Replies: 2 comments 1 reply
-
Hey @Mijux 👋🏼 Hm... not sure what's going on here. I just tried to create a container, and it works fine: resource "proxmox_virtual_environment_container" "ubuntu_container" {
description = "Managed by Terraform"
node_name = "pve"
vm_id = 1234
initialization {
hostname = "terraform-provider-proxmox-ubuntu-container"
ip_config {
ipv4 {
# address = "dhcp"
address = "192.168.3.233/24"
gateway = "192.168.3.1"
}
}
user_account {
keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOQCHPhOV9XsJa3uq4bmKymklNy6ktgBB/+2umizgnnY"]
}
}
network_interface {
name = "veth0"
}
disk {
datastore_id = "local-lvm"
size = 4
}
operating_system {
template_file_id = "local:vztmpl/ubuntu-20.04-standard_20.04-1_amd64.tar.gz"
type = "ubuntu"
}
}
Changing
But I can update other
So i'm really puzzled what's going on there. Would you mind sharing your full log of |
Beta Was this translation helpful? Give feedback.
-
Ah, I missed the I'll create an enhancement ticket to address that. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to generate one LXC with my public key.
Below is the tf log when creating my LXC:
But I get the following error:
It seems that the provider tries to update the LXC config after its creation but the Proxmox API does not allow modification
Logs from
/var/log/pveproxy/access.log
And then here the API Proxmox documentation:
ssh-public-keys
is referencedBeta Was this translation helpful? Give feedback.
All reactions