Skip to content

Commit

Permalink
feat: support new hcloud cx[2-5]2 services vms
Browse files Browse the repository at this point in the history
Signed-off-by: Henrik Gerdes <[email protected]>
  • Loading branch information
hegerdes committed Jun 7, 2024
1 parent 07d136b commit 4ddb0c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ locals {
},
{
name = "worker-node-amd64"
instance = "cx11"
instance = "cx22"
image = "debian-12"
size = 1
tags = {
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ variable "instance_type" {
description = "Node instance type."
default = "cx11"
validation {
condition = contains(["cx11", "cx21", "cx31", "cx41", "cx51", "cpx11", "cpx21", "cpx31", "cpx41", "cpx51", "ccx12", "ccx22", "ccx32", "ccx42", "ccx52", "ccx62", "ccx13", "ccx23", "ccx33", "ccx43", "ccx53", "ccx63", "cax11", "cax21", "cax31", "cax41"], lower(var.instance_type))
condition = contains(["cx11", "cx21", "cx22", "cx31", "cx32", "cx41", "cx42", "cx51", "cx52", "cpx11", "cpx21", "cpx31", "cpx41", "cpx51", "ccx12", "ccx22", "ccx32", "ccx42", "ccx52", "ccx62", "ccx13", "ccx23", "ccx33", "ccx43", "ccx53", "ccx63", "cax11", "cax21", "cax31", "cax41"], lower(var.instance_type))
error_message = "Unsupported server type."
}
}
Expand Down

0 comments on commit 4ddb0c3

Please sign in to comment.