From 9f37b0f6bda500c3b572710b32bc17e4d24a27fb Mon Sep 17 00:00:00 2001 From: shanice-skylight <150187231+shanice-skylight@users.noreply.github.com> Date: Mon, 21 Oct 2024 16:23:42 -0400 Subject: [PATCH] Add additional RDS logs (#99) * added rds upgrade logs to cloudwatch * fix linting --- terraform/aws/implementation/modules/rds/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/aws/implementation/modules/rds/main.tf b/terraform/aws/implementation/modules/rds/main.tf index 3d2f58f1..d1f5f4ff 100644 --- a/terraform/aws/implementation/modules/rds/main.tf +++ b/terraform/aws/implementation/modules/rds/main.tf @@ -6,7 +6,7 @@ resource "aws_db_instance" "tefca-viewer-db" { allocated_storage = 5 engine = var.engine_type engine_version = var.engine_version - enabled_cloudwatch_logs_exports = ["postgresql"] + enabled_cloudwatch_logs_exports = ["postgresql", "upgrade"] username = var.db_username password = random_password.setup_rds_password.result db_subnet_group_name = aws_db_subnet_group.this.name