add aurora-mysql and aurora-postgresql to model (#5311)

This commit is contained in:
Martijn van der Ploeg 2022-07-26 18:12:50 +02:00 committed by GitHub
parent 036cc6879e
commit 004c971a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -654,6 +654,9 @@ class Database(CloudFormationModel):
@staticmethod
def default_port(engine):
return {
"aurora": 3306,
"aurora-mysql": 3306,
"aurora-postgresql": 5432,
"mysql": 3306,
"mariadb": 3306,
"postgres": 5432,
@ -678,6 +681,8 @@ class Database(CloudFormationModel):
def default_allocated_storage(engine, storage_type):
return {
"aurora": {"gp2": 0, "io1": 0, "standard": 0},
"aurora-mysql": {"gp2": 20, "io1": 100, "standard": 10},
"aurora-postgresql": {"gp2": 20, "io1": 100, "standard": 10},
"mysql": {"gp2": 20, "io1": 100, "standard": 5},
"mariadb": {"gp2": 20, "io1": 100, "standard": 5},
"postgres": {"gp2": 20, "io1": 100, "standard": 5},