Skip to content

Commit

Permalink
fix: Remove db version validation (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
venky-wandb authored Aug 15, 2023
1 parent 0dcb3e5 commit 0a787ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions modules/database/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ variable "database_private_dns_zone_id" {
variable "database_version" {
description = "Version for MYSQL"
type = string
default = "8.0.21"

validation {
condition = contains(["5.7", "8.0.21"], var.database_version)
error_message = "We only support MySQL: \"5.7\"; \"8.0.21\"."
}
default = "5.7"
}

variable "database_availability_mode" {
Expand Down
7 changes: 1 addition & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,6 @@ variable "database_version" {
description = "Version for MySQL"
type = string
default = "5.7"

validation {
condition = contains(["5.7", "8.0.21"], var.database_version)
error_message = "We only support MySQL: \"5.7\"; \"8.0.21\"."
}
}

variable "database_availability_mode" {
Expand All @@ -139,7 +134,7 @@ variable "create_redis" {
##########################################
# External Bucket #
##########################################
# Most users will not need these settings. They are meant for users who want a
# Most users will not need these settings. They are ment for users who want a
# bucket in a different account.

variable "blob_container" {
Expand Down

0 comments on commit 0a787ba

Please sign in to comment.