prefix variable consistency across modules

This commit is contained in:
Natalia Strelkova
2022-11-10 15:05:53 +00:00
parent b7bfcf3575
commit 68c3b13d6a
19 changed files with 96 additions and 66 deletions

View File

@@ -103,10 +103,15 @@ variable "notification_config" {
})
default = null
}
variable "prefix" {
description = "Prefix used to generate the bucket name."
description = "Optional prefix used to generate the bucket name."
type = string
default = null
validation {
condition = var.prefix != ""
error_message = "Prefix can not be empty, please use null instead."
}
}
variable "project_id" {