From dd0e18ab38d10e373a0259a6dce256d59a24b65e Mon Sep 17 00:00:00 2001 From: Martin Burke <66889764+burmek@users.noreply.github.com> Date: Mon, 11 Sep 2023 17:14:29 -0400 Subject: [PATCH] Add params to RDS cluster group --- .terraform.lock.hcl | 20 -------------------- modules/comet_rds/main.tf | 10 ++++++++++ 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/.terraform.lock.hcl b/.terraform.lock.hcl index b158d28..e853b98 100644 --- a/.terraform.lock.hcl +++ b/.terraform.lock.hcl @@ -84,26 +84,6 @@ provider "registry.terraform.io/hashicorp/kubernetes" { ] } -provider "registry.terraform.io/hashicorp/random" { - version = "3.5.1" - constraints = ">= 3.1.0" - hashes = [ - "h1:sZ7MTSD4FLekNN2wSNFGpM+5slfvpm5A/NLVZiB7CO0=", - "zh:04e3fbd610cb52c1017d282531364b9c53ef72b6bc533acb2a90671957324a64", - "zh:119197103301ebaf7efb91df8f0b6e0dd31e6ff943d231af35ee1831c599188d", - "zh:4d2b219d09abf3b1bb4df93d399ed156cadd61f44ad3baf5cf2954df2fba0831", - "zh:6130bdde527587bbe2dcaa7150363e96dbc5250ea20154176d82bc69df5d4ce3", - "zh:6cc326cd4000f724d3086ee05587e7710f032f94fc9af35e96a386a1c6f2214f", - "zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3", - "zh:b6d88e1d28cf2dfa24e9fdcc3efc77adcdc1c3c3b5c7ce503a423efbdd6de57b", - "zh:ba74c592622ecbcef9dc2a4d81ed321c4e44cddf7da799faa324da9bf52a22b2", - "zh:c7c5cde98fe4ef1143bd1b3ec5dc04baf0d4cc3ca2c5c7d40d17c0e9b2076865", - "zh:dac4bad52c940cd0dfc27893507c1e92393846b024c5a9db159a93c534a3da03", - "zh:de8febe2a2acd9ac454b844a4106ed295ae9520ef54dc8ed2faf29f12716b602", - "zh:eab0d0495e7e711cca367f7d4df6e322e6c562fc52151ec931176115b83ed014", - ] -} - provider "registry.terraform.io/hashicorp/time" { version = "0.9.1" constraints = ">= 0.9.0" diff --git a/modules/comet_rds/main.tf b/modules/comet_rds/main.tf index 1788fe1..0b43b9f 100644 --- a/modules/comet_rds/main.tf +++ b/modules/comet_rds/main.tf @@ -99,6 +99,16 @@ resource "aws_rds_cluster_parameter_group" "cometml-cluster-pg" { name = "thread_stack" value = "2000000" } + parameter { + apply_method = "pending-reboot" + name = "group_concat_max_len" + value = "1000000" + } + parameter { + apply_method = "pending-reboot" + name = "log_bin_trust_function_creators" + value = "1" + } } resource "aws_security_group" "mysql_sg" {