Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
eytannnaim committed May 28, 2024
1 parent 3d46717 commit a7428e8
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ variable "dam_version" {
description = "The DAM version to install"
default = "14.15.1.10"
validation {
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,2}$", var.dam_version))
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,3}$", var.dam_version))
error_message = "Version must be in the format dd.dd.dd.dd where each dd is a number between 1-99 (e.g 14.10.1.10)"
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/aws/poc/dsf_deployment/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ variable "dam_version" {
description = "The DAM version to install"
default = "14.15.1.10"
validation {
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,2}$", var.dam_version))
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,3}$", var.dam_version))
error_message = "Version must be in the format dd.dd.dd.dd where each dd is a number between 1-99 (e.g 14.10.1.10)"
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/azure/poc/dsf_deployment/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ variable "dam_version" {
description = "The DAM version to install"
default = "14.15.1.10"
validation {
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,2}$", var.dam_version))
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,3}$", var.dam_version))
error_message = "Version must be in the format dd.dd.dd.dd where each dd is a number between 1-99 (e.g 14.10.1.10)"
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/agent-gw/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ variable "dam_version" {
type = string
description = "The DAM version to install"
validation {
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,2}$", var.dam_version))
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,3}$", var.dam_version))
error_message = "Version must be in the format dd.dd.dd.dd where each dd is a number between 1-99 (e.g 14.10.1.10)"
}
validation {
Expand Down
3 changes: 1 addition & 2 deletions modules/aws/dam-base-instance/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,9 @@ variable "user_data_commands" {
variable "dam_version" {
type = string
description = "The DAM version to install"
default = "14.13.1.10"
nullable = false
validation {
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,2}$", var.dam_version))
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,3}$", var.dam_version))
error_message = "Version must be in the format dd.dd.dd.dd where each dd is a number between 1-99 (e.g 14.10.1.10)"
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/mx/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ variable "dam_version" {
type = string
description = "The DAM version to install"
validation {
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,2}$", var.dam_version))
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,3}$", var.dam_version))
error_message = "Version must be in the format dd.dd.dd.dd where each dd is a number between 1-99 (e.g 14.10.1.10)."
}
validation {
Expand Down
2 changes: 1 addition & 1 deletion modules/azurerm/agent-gw/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ variable "dam_version" {
type = string
description = "The DAM version to install"
validation {
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,2}$", var.dam_version))
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,3}$", var.dam_version))
error_message = "Version must be in the format dd.dd.dd.dd where each dd is a number between 1-99 (e.g 14.10.1.10)"
}
validation {
Expand Down
3 changes: 1 addition & 2 deletions modules/azurerm/dam-base-instance/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,9 @@ variable "custom_scripts" {
variable "dam_version" {
type = string
description = "The DAM version to install"
default = "14.13.1.10"
nullable = false
validation {
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,2}$", var.dam_version))
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,3}$", var.dam_version))
error_message = "Version must be in the format dd.dd.dd.dd where each dd is a number between 1-99 (e.g 14.10.1.10)"
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/azurerm/mx/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ variable "dam_version" {
type = string
description = "The DAM version to install"
validation {
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,2}$", var.dam_version))
condition = can(regex("^(\\d{1,2}\\.){3}\\d{1,3}$", var.dam_version))
error_message = "Version must be in the format dd.dd.dd.dd where each dd is a number between 1-99 (e.g 14.10.1.10)."
}
validation {
Expand Down

0 comments on commit a7428e8

Please sign in to comment.