diff --git a/deployment/terraform/shared/main.tf b/deployment/terraform/shared/main.tf index bca65bb3..3ff5bda4 100644 --- a/deployment/terraform/shared/main.tf +++ b/deployment/terraform/shared/main.tf @@ -81,6 +81,10 @@ resource "aws_db_instance" "default" { publicly_accessible = true # Specify the CA certificate with the default RDS CA certificate ca_cert_identifier = "rds-ca-rsa2048-g1" + + # Performance Insights (7-day retention is free) + performance_insights_enabled = true + performance_insights_retention_period = 7 # Temporary to enfore immediate change apply_immediately = true # Set up storage type to gp3 for better performance