Skip to content

Commit ffffc7e

Browse files
committed
fix: The temporary_name_for_rotation value must not be null
1 parent 6df4dda commit ffffc7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vars.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ variable "availability_zones" {
142142
variable "temporary_name_for_rotation" {
143143
type = string
144144
description = "Specifies the name of the temporary node pool used to cycle the default node pool for VM resizing."
145+
validation {
146+
condition = var.temporary_name_for_rotation != null
147+
error_message = "The temporary_name_for_rotation value must not be null"
148+
}
145149
default = "rotationtmp"
146150
}
147151

0 commit comments

Comments
 (0)