Created
January 15, 2021 18:14
-
-
Save aveek22/a188b02abde65479bbba2deba5ec90d6 to your computer and use it in GitHub Desktop.
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
Parameters: | |
pDbName: | |
Type: String | |
pDbUser: | |
Type: String | |
pDbPass: | |
Type: String | |
Description: "It should be less than 8 characters" | |
Resources: | |
SQLShackDemoDbInstance: | |
Type: AWS::RDS::DBInstance | |
Properties: | |
DBName: !Ref pDbName | |
MasterUsername: !Ref pDbUser | |
MasterUserPassword: !Ref pDbPass | |
Engine: MySQL | |
DBInstanceClass: db.t2.micro | |
StorageType: gp2 | |
PubliclyAccessible: True | |
AllocatedStorage: "20" | |
DBInstanceIdentifier: !Join ["-", [ "SQLShackDemoDbInstance", !Ref "AWS::Region" ]] | |
AvailabilityZone: !Select [1, !GetAZs ""] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment