Skip to content

Commit

Permalink
Merge branch 'test_aurora_ha' of https://github.com/hashicorp/terrafo…
Browse files Browse the repository at this point in the history
…rm-aws-terraform-enterprise into test_aurora_ha
  • Loading branch information
sandrampeter committed May 27, 2024
2 parents 0721402 + 51abeec commit d864bb0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/aurora_database_cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,21 @@ variable "network_id" {
variable "db_name" {
type = string
description = "PostgreSQL instance name. No special characters."

validation {
condition = can(regex("^[a-zA-Z0-9]+$", var.db_name))
error_message = "The db_name must only contain alphanumeric characters."
}
}

variable "db_username" {
type = string
description = "PostgreSQL instance username. No special characters."

validation {
condition = can(regex("^[a-zA-Z0-9]+$", var.db_username))
error_message = "The db_name must only contain alphanumeric characters."
}
}

variable "db_size" {
Expand Down

0 comments on commit d864bb0

Please sign in to comment.