-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
Description
What whould you like to see?
Hey,
I can see that nixos base image is already available in the admin panel after server has been created:
But when I try use it:
resource "hcloud_server" "my-server" {
name = "my-server"
# nixos-minimal-25.05.803396.8f1b52b04f2c-aarch64-linux.iso
image = "nixos-minimal-25"
server_type = "cax11"
datacenter = "hel1-dc2"
}
I get error:
$ opentofu apply -auto-approve
Plan: 1 to add, 0 to change, 0 to destroy.
hcloud_server.my-server: Creating...
╷
│ Error: image nixos-minimal-25 for architecture arm not found
Would you be willing to add this into the API and to the terraform provider too?
I think it's mainly missing as an option to the API since I can't find it when searching for all images:
data "hcloud_images" "arm" {
with_architecture = ["arm"]
}
output "arm" {
value = data.hcloud_images.arm
}