Skip to content

Commit 9c00475

Browse files
committed
fix: updated dns zone name validation logic
1 parent 6ee93bf commit 9c00475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ variable "dns_zone_name" {
643643
default = "slz.com"
644644
type = string
645645
validation {
646-
condition = !contains([
646+
condition = var.dns_zone_name == null || !contains([
647647
"ibm.com",
648648
"softlayer.com",
649649
"bluemix.net",

0 commit comments

Comments
 (0)