feat: cx11 is deprecated and will be removed in 2 months

This commit is contained in:
Julian Tölle 2024-07-02 17:59:09 +02:00
parent a47095bd2d
commit faf55050e4

View file

@ -16,7 +16,7 @@ variable "hcloud_token" {
variable "hcloud_server_type" { variable "hcloud_server_type" {
type = map(string) type = map(string)
default = { default = {
x86 = "cx11" x86 = "cx22"
arm = "cax11" arm = "cax11"
} }
} }
@ -63,7 +63,7 @@ data "http" "version_info" {
source "hcloud" "flatcar" { source "hcloud" "flatcar" {
token = var.hcloud_token token = var.hcloud_token
image = "ubuntu-22.04" image = "ubuntu-24.04"
location = "fsn1" location = "fsn1"
rescue = "linux64" rescue = "linux64"
@ -74,7 +74,7 @@ source "hcloud" "flatcar" {
build { build {
dynamic "source" { dynamic "source" {
for_each = local.architectures for_each = local.architectures
labels = ["hcloud.flatcar"] labels = ["hcloud.flatcar"]
content { content {
name = source.value name = source.value