Skip to content

Commit 5bebee5

Browse files
committed
Pause database after 1hr of inactivity
1 parent 47e7157 commit 5bebee5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ Resources:
131131
ServerlessV2ScalingConfiguration:
132132
MaxCapacity: !Ref RdsScalingMaxCapacity
133133
MinCapacity: !Ref RdsScalingMinCapacity
134+
SecondsUntilAutoPause: 3600 # 1 hour
134135
KmsKeyId: alias/aws/rds
135136
StorageEncrypted: true
136137
EnableCloudwatchLogsExports:

0 commit comments

Comments
 (0)