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 "domain_name" {
default = "example.com"
type = string
default = "example.com"
description = "The domain name for the Linode instance and domain records."
type = string
validation {
condition = can(regex("^[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$", var.domain_name))
error_message = "The domain name must be a valid fully-qualified domain name (e.g., example.com)."
}
}