Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MD NURE ALAM Nahid committed Nov 1, 2023
1 parent 23a3e9b commit 5f22fb2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions provider/aws/formation/resource/mariadb.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@
"Default": "true",
"AllowedValues" : [ "true", "false" ]
},
"BackupRetentionPeriod": {
"Type": "Number",
"Default": "1"
},
"Class": {
"Type": "String",
"Default": "db.t2.micro"
},
"DeletionProtection": {
"Type": "String",
"Default": "false",
"AllowedValues": [ "true", "false" ]
},
"Durable": {
"Type": "String",
"Default": "false",
Expand Down Expand Up @@ -82,6 +91,7 @@
"AllocatedStorage": { "Ref": "Storage" },
"AllowMajorVersionUpgrade": "true",
"AutoMinorVersionUpgrade": { "Ref": "AutoMinorVersionUpgrade" },
"BackupRetentionPeriod": { "Ref": "BackupRetentionPeriod" },
"DBInstanceClass": { "Ref": "Class" },
"DBInstanceIdentifier": { "Ref": "AWS::StackName" },
"DBName": "app",
Expand All @@ -92,6 +102,7 @@
] ] }
} ] },
"DBSubnetGroupName": { "Ref": "SubnetGroup" },
"DeletionProtection": { "Ref": "DeletionProtection" },
"Engine": "mariadb",
"EngineVersion": { "Ref": "Version" },
"Iops": { "Fn::If": [ "BlankIops", { "Ref": "AWS::NoValue" }, { "Ref": "Iops" } ] },
Expand Down
11 changes: 11 additions & 0 deletions provider/aws/formation/resource/mysql.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@
"Default": "true",
"AllowedValues" : [ "true", "false" ]
},
"BackupRetentionPeriod": {
"Type": "Number",
"Default": "1"
},
"Class": {
"Type": "String",
"Default": "db.t2.micro"
},
"DeletionProtection": {
"Type": "String",
"Default": "false",
"AllowedValues": [ "true", "false" ]
},
"Durable": {
"Type": "String",
"Default": "false",
Expand Down Expand Up @@ -82,6 +91,7 @@
"AllocatedStorage": { "Ref": "Storage" },
"AllowMajorVersionUpgrade": "true",
"AutoMinorVersionUpgrade": { "Ref": "AutoMinorVersionUpgrade" },
"BackupRetentionPeriod": { "Ref": "BackupRetentionPeriod" },
"DBInstanceClass": { "Ref": "Class" },
"DBInstanceIdentifier": { "Ref": "AWS::StackName" },
"DBName": "app",
Expand All @@ -92,6 +102,7 @@
] ] }
} ] },
"DBSubnetGroupName": { "Ref": "SubnetGroup" },
"DeletionProtection": { "Ref": "DeletionProtection" },
"Engine": "mysql",
"EngineVersion": { "Ref": "Version" },
"Iops": { "Fn::If": [ "BlankIops", { "Ref": "AWS::NoValue" }, { "Ref": "Iops" } ] },
Expand Down
11 changes: 11 additions & 0 deletions provider/aws/formation/resource/postgres.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@
"Default": "true",
"AllowedValues" : [ "true", "false" ]
},
"BackupRetentionPeriod": {
"Type": "Number",
"Default": "1"
},
"Class": {
"Type": "String",
"Default": "db.t2.micro"
},
"DeletionProtection": {
"Type": "String",
"Default": "false",
"AllowedValues": [ "true", "false" ]
},
"Durable": {
"Type": "String",
"Default": "false",
Expand Down Expand Up @@ -83,6 +92,7 @@
"AllocatedStorage": { "Ref": "Storage" },
"AllowMajorVersionUpgrade": "true",
"AutoMinorVersionUpgrade": { "Ref": "AutoMinorVersionUpgrade" },
"BackupRetentionPeriod": { "Ref": "BackupRetentionPeriod" },
"DBInstanceClass": { "Ref": "Class" },
"DBInstanceIdentifier": { "Ref": "AWS::StackName" },
"DBName": "app",
Expand All @@ -96,6 +106,7 @@
] }
} ] },
"DBSubnetGroupName": { "Ref": "SubnetGroup" },
"DeletionProtection": { "Ref": "DeletionProtection" },
"Engine": "postgres",
"EngineVersion": { "Ref": "Version" },
"Iops": { "Fn::If": [ "BlankIops", { "Ref": "AWS::NoValue" }, { "Ref": "Iops" } ] },
Expand Down

0 comments on commit 5f22fb2

Please sign in to comment.