Version bump, Style guide, dns records updates optional, and input validation

This commit is contained in:
2026-08-12 20:17:45 -05:00
parent 4baf95631e
commit 4aa76f370f
20 changed files with 100 additions and 28 deletions
+8 -2
View File
@@ -1,4 +1,10 @@
variable "type" {
default = "g6-nanode-1"
type = string
default = "g6-nanode-1"
description = "The Linode type defines the pricing, CPU, disk, and RAM specs of the instance."
type = string
validation {
condition = can(regex("^g[0-9]+-[a-zA-Z0-9-]+$", var.type))
error_message = "The type must be a valid Linode instance type (e.g., g6-nanode-1, g6-standard-2)."
}
}