Skip to content

Commit c2353ef

Browse files
authored
Enable Aurora auto-pause after five idle minutes (#812)
1 parent 6eb2b49 commit c2353ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎postgres.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ Resources:
7676
VpcSecurityGroupIds:
7777
- !Ref RDSSecurityGroup
7878
ServerlessV2ScalingConfiguration:
79-
MinCapacity: 0.5
79+
MinCapacity: 0
8080
MaxCapacity: 1.0
81+
SecondsUntilAutoPause: 300
8182
AssociatedRoles:
8283
- FeatureName: Lambda
8384
RoleArn: !GetAtt RDSLambdaRole.Arn

0 commit comments

Comments
 (0)