Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue 398 #400

Merged
merged 2 commits into from
Nov 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions templates/assets/cloudformation/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,18 @@ Resources:
EngineMode: !Ref DatabaseEngineMode
KmsKeyId: !Ref DatabaseKeyArn
StorageEncrypted: true
ScalingConfiguration:
ScalingConfiguration:
Fn::If:
- IsServerless
- MaxCapacity: !Ref ScalingMaxCapacity
MinCapacity: !Ref ScalingMinCapacity
SecondsUntilAutoPause: !Ref SecondsUntilAutoPause
AutoPause:
Fn::If:
AutoPause:
Fn::If:
- IsServerlessAutoPause
- 'true'
- 'false'
- AWS::NoValue
- !Ref AWS::NoValue
MasterUsername: !Ref DatabaseMasterUsername
MasterUserPassword: !Ref DatabaseMasterPassword
Tags:
Expand Down