prefix variable consistency across modules
This commit is contained in:
@@ -105,9 +105,13 @@ variable "network" {
|
||||
}
|
||||
|
||||
variable "prefix" {
|
||||
description = "Prefix used to generate instance names."
|
||||
description = "Optional prefix used to generate instance names."
|
||||
type = string
|
||||
default = null
|
||||
validation {
|
||||
condition = var.prefix != ""
|
||||
error_message = "Prefix can not be empty, please use null instead."
|
||||
}
|
||||
}
|
||||
|
||||
variable "project_id" {
|
||||
|
||||
Reference in New Issue
Block a user