Last active
August 9, 2018 01:37
-
-
Save walmsles/157828cbcfd24e71ce3ed6582a3bdf35 to your computer and use it in GitHub Desktop.
Serverless Aurora RDS Setup (Clustered)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cluster: | |
Type: AWS::RDS::DBCluster | |
Properties: | |
DatabaseName: db_name | |
Engine: aurora | |
MasterUsername: user | |
MasterUserPassword: password | |
Database: | |
Type: AWS::RDS::DBInstance | |
Properties: | |
DBInstanceClass: db.t2.small | |
Engine: aurora | |
PubliclyAccessible: true | |
DBInstanceIdentifier: ${self:service}-project-${self:provider.stage} | |
DBClusterIdentifier: | |
Ref: Cluster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment