Skip to content

Commit

Permalink
add performance insights
Browse files Browse the repository at this point in the history
  • Loading branch information
JWanderema committed May 7, 2020
1 parent 2fb6e00 commit 74b14db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mds-rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 74b14db

Please sign in to comment.