From 74b14db9f8e1f243197cd69bdcfad1dd55ed1ac0 Mon Sep 17 00:00:00 2001 From: Jwanderema Date: Thu, 7 May 2020 11:08:22 +0100 Subject: [PATCH] add performance insights --- mds-rds.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mds-rds.tf b/mds-rds.tf index aad9b5e..76c5267 100644 --- a/mds-rds.tf +++ b/mds-rds.tf @@ -87,6 +87,9 @@ resource "aws_db_instance" "mds_postgres" { db_subnet_group_name = "${aws_db_subnet_group.mds_rds.id}" vpc_security_group_ids = ["${aws_security_group.mds_postgres.id}"] + performance_insights_enabled = true + performance_insights_retention_period = "7" + lifecycle { prevent_destroy = true }