Skip to content

Commit

Permalink
[ECO-2395] Enable Performance Insights for DB (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
CRBl69 authored Nov 13, 2024
1 parent 0592eb8 commit f78eed5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cloud-formation/indexer.cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -839,15 +839,19 @@ Resources:
Properties:
DBClusterIdentifier: !Ref 'DbCluster'
DBInstanceClass: 'db.serverless'
EnablePerformanceInsights: true
Engine: 'aurora-postgresql'
PerformanceInsightsRetentionPeriod: 31
Type: 'AWS::RDS::DBInstance'
# Replica (reader) database instance.
DbInstanceReplica:
Condition: 'DeployDb'
Properties:
DBClusterIdentifier: !Ref 'DbCluster'
DBInstanceClass: 'db.serverless'
EnablePerformanceInsights: true
Engine: 'aurora-postgresql'
PerformanceInsightsRetentionPeriod: 31
Type: 'AWS::RDS::DBInstance'
# Security group for the database itself.
DbSecurityGroup:
Expand Down

0 comments on commit f78eed5

Please sign in to comment.