Skip to content

Commit

Permalink
aurora scale to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
jojo786 committed Dec 31, 2024
1 parent fbfc83e commit 3c0b58e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lambda-aurora-serverlessv2-postgresql/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ Resources:
DatabaseName: !Ref DatabaseName
Engine: aurora-postgresql
EngineMode: provisioned
EngineVersion: '16.4'
StorageEncrypted: true
# Enable the Data API for Aurora Serverless
EnableHttpEndpoint: true
ServerlessV2ScalingConfiguration:
MinCapacity: 0.5
MinCapacity: 0 #auto-pause
MaxCapacity: 1
AuroraInstance:
Type: 'AWS::RDS::DBInstance'
Expand Down

0 comments on commit 3c0b58e

Please sign in to comment.