Loadtesting db size (#9152)

* Allow for customizable DB instance type loadtesting
This commit is contained in:
Robert Fairburn
2023-01-02 14:33:30 -06:00
committed by GitHub
parent d64728a5b1
commit b19233e21d
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ module "aurora_mysql" { #tfsec:ignore:aws-rds-enable-performance-insights-encryp
name = "${local.name}-mysql"
engine = "aurora-mysql"
engine_version = "5.7.mysql_aurora.2.10.2"
instance_type = "db.r6g.4xlarge"
instance_type_replica = "db.r6g.4xlarge"
instance_type = var.db_instance_type
instance_type_replica = var.db_instance_type
iam_database_authentication_enabled = true
storage_encrypted = true
@@ -19,3 +19,9 @@ variable "loadtest_containers" {
type = number
default = 0
}
variable "db_instance_type" {
description = "The type of the loadtesting db instances. Default is db.r6g.4xlarge."
type = string
default = "db.r6g.4xlarge"
}