From 5404e8312635ade82ce8869b3c9a8c8657fb4989 Mon Sep 17 00:00:00 2001 From: twerthi Date: Fri, 19 Aug 2022 15:14:17 -0700 Subject: [PATCH] Tweaking database parameters --- .../aws-base-infrastructure-terraform/rds.tf | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/octopus-samples-instances/aws-base-infrastructure-terraform/rds.tf b/octopus-samples-instances/aws-base-infrastructure-terraform/rds.tf index ee3b029..7720491 100644 --- a/octopus-samples-instances/aws-base-infrastructure-terraform/rds.tf +++ b/octopus-samples-instances/aws-base-infrastructure-terraform/rds.tf @@ -15,6 +15,16 @@ resource "aws_db_parameter_group" "solutions_mariadb" { name = "character_set_client" value = "utf8" } + + parameter { + name = "character_set_connection" + value = "utf8" + } + + parameter { + name = "character_set_database" + value = "utf8" + } } resource "aws_db_instance" "mariadb_rds_instance" { @@ -43,6 +53,16 @@ resource "aws_db_parameter_group" "solutions_mysql" { name = "character_set_client" value = "utf8" } + + parameter { + name = "character_set_connection" + value = "utf8" + } + + parameter { + name = "character_set_database" + value = "utf8" + } } resource "aws_db_instance" "mysql_rds_instance" {