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 "region" {
default = "us-central"
type = string
default = "us-central"
description = "The region where the Linode will be located."
type = string
validation {
condition = can(regex("^[a-z]{2}-[a-z]+(-[a-z]+)?$", var.region))
error_message = "The region must be a valid Linode region format (e.g., us-central, ap-south)."
}
}